Skip to content
JS
Package

get-video-id

Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.

v4.2.0, 9 Apr 2026MITESM + CommonJSTypes: BundledVideo and audio
$ npm install get-video-id

Key numbers

As of 25 Sept 2026
Weekly downloads
121k
+57% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 months ago
v4.2.0
GitHub stars
204
26 forks
Open issues / PRs
4 / 3
Contributors
-
Commits, last 52 weeks
21

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 224.4k (4 Aug 2026)Low 41.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

120,974 downloads last week, 653,225 in the last month. The 12-month change of +57% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.2.0, 9 Apr 20265 months ago
First published
-
Last push to GitHub
29 Jun 202687 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
3
Commits, last 52 weeks
21
Dependents on npm
63

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19.0 || >=22.0.0
Runtimes
-
Unpacked size (npm)
173 kB
Dependencies (0)
None
npm install get-video-id

CDN

jsDelivr: 137.1k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-video-id@4.2.0/
  • unpkghttps://unpkg.com/get-video-id@4.2.0/
  • esm.shhttps://esm.sh/get-video-id@4.2.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.