npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jnzlab/easy-ytdlp

v1.1.2

Published

A user-friendly interactive CLI wrapper for yt-dlp — no Python or flag memorization required

Downloads

1,083

Readme

easy-ytdlp

Interactive, user-friendly CLI wrapper around yt-dlp. Answer a few plain-English questions — quality, format, destination — and the tool builds and runs the correct yt-dlp command for you.

No Python install. No flag memorization. The yt-dlp binary is downloaded and cached automatically on first run.

Install

# one-shot (no install)
npx @jnzlab/easy-ytdlp <url>

# or install globally
npm install -g @jnzlab/easy-ytdlp
easy-ytdlp <url>

Requirements: Node.js 18+. For video merging, audio extraction, and embedding, install ffmpeg on your system.

Usage

easy-ytdlp                                 # prompts for URL
easy-ytdlp https://youtu.be/dQw4w9WgXcQ    # start with a URL
easy-ytdlp <url1> <url2>                  # download multiple URLs with shared settings
easy-ytdlp --batch-file urls.txt          # read URLs from a file, one per line
easy-ytdlp <url> --show-command            # preview the yt-dlp flags first
easy-ytdlp <url> --yes --mode audio --audio-format mp3
easy-ytdlp update-binary                   # force-refresh the cached yt-dlp binary

Batch files may include blank lines and comments that start with #. When multiple URLs are provided, easy-ytdlp fetches metadata for each URL, then asks one set of questions using the first URL with valid metadata as the prompt context. The default wizard keeps common downloads short. Choose advanced options to customize subtitles, playlists, filename presets, containers, and embeds.

Non-interactive options

Use --yes to skip prompts and run with defaults plus any flags you provide:

easy-ytdlp <url> --yes --mode video --quality 1080 --output ~/Videos
easy-ytdlp <url> --yes --mode audio --audio-format mp3 --audio-quality good
easy-ytdlp --batch-file urls.txt --yes --mode video --quality best

Useful flags:

  • --mode video|audio|video-only|subs-only|thumbnail-only
  • --quality best|1080|720|480|<height>
  • --container best|mp4|mkv|webm
  • --audio-format best|mp3|m4a|opus|flac|wav
  • --subs none|embed|write|both --sub-langs en,es
  • --playlist single|all|range --playlist-range 2:5
  • --filename title|title-channel|title-date
  • --embed-thumbnail --embed-metadata --sponsorblock

Example session

easy-ytdlp demo

Audio-only example

npx @jnzlab/easy-ytdlp "https://www.youtube.com/watch?v=…"
# → choose "Audio only" → mp3 → Best → confirm

What it covers

Guided choices for:

  • Video (+ audio), audio-only, video-only, subtitles-only, thumbnail-only
  • Quality caps (-S res:…) and available resolutions from metadata
  • Containers, audio formats, subtitle languages / embed vs file
  • Playlist: this video, whole playlist, or index range
  • Output folder + plain-English filename templates
  • Embed thumbnail / metadata, SponsorBlock remove

Out of scope (v1)

These need the raw yt-dlp CLI directly:

  • Login / cookies-based extraction
  • DRM content
  • Live streams from the start

See the yt-dlp authentication and related docs, or the local reference copy in docs/yt-dlp-README.md.

License

MIT