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

track-dl

v1.0.16

Published

Search and download music from YouTube using AI

Readme

track-dl

Search and download music from YouTube with automatic metadata and album cover.

Quick Start

Install globally

npm install -g track-dl
track-dl song name

Check version

track-dl --version

Usage

track-dl song name

Examples

track-dl shape of you
track-dl umbrella rihanna

Options

| Parameter | Purpose | |--------|---------| | -v, --version | Show version number | | -u, --update | Update yt-dlp.exe |

Run

node index.js song name

Features

  • Free APIs: Uses Deezer and iTunes APIs (no API keys needed)
  • Manual selection: Pick the YouTube source, metadata and album cover (6 options per step)
  • Source format selection: Choose the audio format/bitrate to download from YouTube (default: highest quality)
  • Target format selection: Choose the output MP3 bitrate (64, 128, 192, 256, 320 kbps; default: 192)
  • Album cover: Downloads and embeds album art

How It Works

  1. Searches YouTube with your query (6 results)
  2. You select a YouTube source
  3. Fetches metadata options from Deezer/iTunes (artist, title, album, year, genre, cover)
  4. You select metadata and album cover (or skip)
  5. Selects a source audio format/bitrate (from the video's available formats; default: highest)
  6. Selects a target MP3 bitrate (default: 192 kbps)
  7. Downloads audio and embeds the chosen metadata and cover into MP3

Source & Target Format Selection

During each run you pick two audio formats:

Source format

After picking the YouTube video, its available audio-only formats are listed (e.g. 128 kbps · Opus · medium, 160 kbps · AAC · high). You can:

  • Enter the number of the format you want to download, or
  • Press Enter to use the highest bitrate (default).

Formats with no numeric bitrate fall back to a default for their codec (e.g. Opus = 128 kbps).

Target MP3 bitrate

The final MP3 is encoded at the bitrate you choose:

| Option | Bitrate | |--------|---------| | 1 | 64 kbps | | 2 | 128 kbps | | 3 | 192 kbps (default) | | 4 | 256 kbps | | 5 | 320 kbps |

Output

  • MP3 file saved to project directory
  • File naming: {artist} - {title}.mp3
  • Includes: title, artist, album, year, genre, cover art

Author

Sedat ERGOZ @eaeoz

License

MIT License