Nighttime Possum Meandering

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

    0.1.6 • Public • Published


    a wrapper for various youtube downloading solutions


    There are many solutions to programmatically download a YouTube video, but all of them are flawed in some way or another.

    First there was youtube-dl which is perhaps the oldest and most popular tool. Then I discovered ytdl-core which is written in JavaScript and seems to be faster than youtube-dl, but also rather slow to update to YouTube's changes. And not too long ago I stumbled across yt-dlp, which is a fork of youtube-dl with various improvements and seemingly faster updates.

    So I thought: This is a mess and most people shouldn't have to worry about which downloader is working under the hood to get their video, so I'm building this adapter to unify all of them somewhat.

    This probably won't be feature-complete and rather will be focused on the core use of a YouTube downloader, which is to get URLs for streams and some metadata about the content. But it will be a solid base to build upon if you need any more features, so feel free to fork and send a PR.

    technical details

    This library is primarely modeled around ytdl-core because that's what resync was based on initially.

    You construct an instace and pass it the desired adapters. By default it tries to resolve with the adapters one-by-one, but can be configured by the second argument to first-to-resolve.


    npm i @resync-tv/yt-dl

    DownloadsWeekly Downloads






    Unpacked Size

    26.2 kB

    Total Files


    Last publish


    • vaaski