Nasty Popsicle Machine

    ytdownload
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.1 • Public • Published

    Download YouTube Videos Easily

    YTDownload allows you to download youtube videos easily. Now with CLI support!

    Usage [CLI]

    $ ytdownload <video_url>

    example:

    $ ytdownload https://www.youtube.com/watch?v=dQw4w9WgXcQ

    Usage [Code]

    /* ES6 */
    import { download } from "ytdownload";
    
    /* CommonJS*/
    const { download } = require("ytdownload");
    
    download("video_url");
    
    // example
    download("https://www.youtube.com/watch?v=dQw4w9WgXcQ").then((VideoPath) => {
    	console.log(VideoPath); // => ./videos/Rick Astley - Never Gonna Give You Up (Video).mp4
    });

    Contact Me For More Help

    Install

    npm i ytdownload

    DownloadsWeekly Downloads

    0

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    13.9 kB

    Total Files

    17

    Last publish

    Collaborators

    • leydihavuc
    • ben_baris