downvid
v1.0.3
Published
Powerful pkg to download videos audios images from any platforms.
Maintainers
Readme
downvid 🌍🎬
Universal Media Downloader for Node.js
A lightweight and universal Node.js package that fetches direct video & audio download links from multiple platforms using the downvid.onrender.com API.
Works with YouTube, Instagram, TikTok, Facebook, Twitter/X, Threads, SoundCloud, Terabox, Telegram, and 200+ more platforms!
✨ Features
- 🌍 Universal downloader: Support for 200+ social media and video platforms.
- 🎬 Direct Video: Get high-quality
.mp4download links. - 🎧 Direct Audio: Extract
.mp3audio links easily. - 📦 Zero Config: No API keys or complicated setup required.
- ⚡ High Performance: Fast and lightweight with minimal dependencies.
- 🧠 Beginner Friendly: Simple API that anyone can use.
- 🛠 Maintenance: Regular updates via the upstream API.
📦 Installation
npm install downvid🚀 Usage
1️⃣ Basic Usage (CommonJS)
const downvid = require("downvid");
(async () => {
try {
const result = await downvid("https://youtube.com/shorts/thULSWAvXkc");
console.log(result);
} catch (error) {
console.error("Error fetching media:", error.message);
}
})();🌐 Supported Platforms (200+)
| Category | Platforms | | :--- | :--- | | Social Media | Facebook, Instagram, TikTok, Twitter/X, Threads, Snapchat, LinkedIn, Reddit, Pinterest, 9GAG | | Video Hosting | YouTube, Vimeo, Dailymotion, Bilibili, Twitch, Rutube, OK.ru, VK, Rumble, BitChute, Streamable | | Audio/Music | SoundCloud, Bandcamp, Mixcloud, Gaana | | Messaging & Storage | Telegram, Discord, Terabox, Dropbox, Google Drive (Public) | | Adult Content | Pornhub, XVideos, XNXX, Xhamster, Hentai (various sites), YouPorn, RedTube | | Regional/Others | Likee, Kwai, Douyin, Ifunny, Akıllı TV, Izlesene, Gaana, Mashable, TED |
And many more! Platform support is constantly updated via the upstream API.
📤 Response Format
| Property | Type | Description |
| :--- | :--- | :--- |
| title | string | null | The title of the media content |
| video | string | null | Direct URL to the video file (.mp4) |
| audio | string | null | Direct URL to the audio file (.mp3) |
| thumbnail | string | null | URL to the media thumbnail/cover image |
❌ Error Handling
try {
const data = await downvid(url);
} catch (err) {
console.error("Download failed:", err.message);
}🛠 Requirements
- Node.js: v14.0.0 or higher
- Internet Connection: Required
⚠️ Disclaimer
This package is a wrapper around a third-party service. The author is not responsible for any misuse. Please respect platform Terms of Service and copyright laws.
📜 License
MIT License © 2025
Aryan Chauhan
⭐ Support
If you find this package useful:
- ⭐ Star the repository
- 🧑💻 Share it
- 🐛 Report issues
Happy downloading! 🚀
