Skip to content
JS
Package

get-video-duration

Get the duration of a video file

v5.0.0, 26 Nov 2025MITESM + CommonJSTypes: BundledVideo and audioTypeScript tooling
$ npm install get-video-duration

Key numbers

As of 25 Sept 2026
Weekly downloads
11.4k
-11% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
9 months ago
v5.0.0
GitHub stars
139
17 forks
Open issues / PRs
2 / 2
Contributors
-
Commits, last 52 weeks
80

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 31.2k (21 Apr 2026)Low 7.5k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,437 downloads last week, 51,268 in the last month. The 12-month change of -11% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.0.0, 26 Nov 20259 months ago
First published
-
Last push to GitHub
22 Sept 20263 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
80
Dependents on npm
43

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (3)
execais-stream@ffprobe-installer/ffprobe
npm install get-video-duration
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-video-duration@5.0.0/
  • unpkghttps://unpkg.com/get-video-duration@5.0.0/
  • esm.shhttps://esm.sh/get-video-duration@5.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
onvif7.7k-17 days agoCommonJS-
@imagekit/javascript13.1k-7 days agoESM + CommonJS-
@solid-primitives/audio172.5k-2 months agoESM only-
react-h5-audio-player73k-6 months agoESM + CommonJS-
transloadit31.7k-1 day agoESM only-
react-record-webcam6.4k-5 months agoESM + CommonJS-
@ffmpeg/util399.7k-1 year agoESM + CommonJS-
ffmpeg45.9k-1 month agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.