JS Video URL Parser
JSON →js-video-url-parser is a versatile JavaScript and TypeScript library engineered to extract detailed information from URLs across a wide array of online video platforms, including YouTube, Vimeo, Twitch, Dailymotion, Facebook, TikTok, Loom, and many others. It offers a streamlined API to parse various video URLs into a structured `videoInfo` object, encapsulating data such as the video's provider, ID, media type, and any relevant URL parameters. Furthermore, the library supports the reverse operation, allowing developers to reconstruct valid video URLs from these `videoInfo` objects with customizable formatting. The current stable version is 0.5.1. The package maintains an active release cadence, frequently adding support for new providers and addressing reported issues, indicating ongoing development and maintenance. Its primary differentiators are its extensive list of supported video services and its bidirectional functionality for both parsing and generating video URLs.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany