Skip to content

gajanan0707/youtube-videos-downloader-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Video Downloader

A simple Node.js package to download YouTube videos using yt-dlp.

Installation

npm i youtube-videos-downloader-tool

Usage

const { downloadYouTubeVideo } = require('youtube-videos-downloader-tool');

// Example YouTube URL
const url = 'https://www.youtube.com/watch?v=BIINqfBOz1c';

downloadYouTubeVideo(url)
  .then(result => {
    console.log(result);
  })
  .catch(error => {
    console.error('Error downloading video:', error);
  });

Releases

No releases published

Packages

No packages published