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

ssdl

v1.0.0

Published

Spotify Song Downloader — download tracks & playlists from Spotify via the terminal

Readme

🎵 ssdl — Spotify Song Downloader

[!WARNING] This tool is for educational purposes only. It downloads audio from YouTube, not Spotify source files. Please respect the copyright laws in your jurisdiction and support the artists by streaming or purchasing their music.

A CLI tool to download songs and playlists from Spotify. Built from scratch with zero runtime npm dependencies (except node-id3 for ID3 tags).

TUI Preview

The interface is built with a custom TUI engine for a seamless experience:

  ███████╗███████╗██████╗ ██╗     
  ██╔════╝██╔════╝██╔══██╗██║     
  ███████╗███████╗██║  ██║██║     
  ╚════██║╚════██║██║  ██║██║     
  ███████║███████║██████╔╝███████╗
  ╚══════╝╚══════╝╚═════╝ ╚══════╝
  Spotify Song Downloader          v1.0.0
  ────────────────────────────────────

  > Paste a Spotify URL (track/playlist/album)
    Search for a song
    Settings
    Exit

Live Download Progress:

  Downloading 12 tracks...
  ─────────────────────────────────────────────────────
  · 01. Intro                         waiting
  ~ 02. Track Title                   finding match...
  > 03. Another Track
         [████████░░░░] 65%  Downloading...
  + 04. Already Done                  3.4 MB

How It Works

  1. Spotify API → fetches track metadata (title, artist, album, artwork)
  2. YouTube matching → searches YouTube for the best audio match
  3. yt-dlp → downloads audio as MP3
  4. Metadata embedding → writes ID3 tags + album art into the file

Install & Run

npx ssdl

Or clone and run locally:

git clone https://github.com/rly-dev/ssdl.git
cd ssdl
npm install
node bin/cli.js

Requirements

First-Time Setup

  1. Go to developer.spotify.com/dashboard
  2. Create a new app
  3. Copy your Client ID and Client Secret
  4. Run ssdl — you'll be prompted to enter them
  5. Credentials are saved to ~/.ssdl/config.json

Usage

# Interactive mode — full TUI with menus
ssdl

# Direct download — skip to download
ssdl https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT

# Playlist
ssdl https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M

# Album
ssdl https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy

Features

  • 🎵 Download individual tracks, albums, or entire playlists
  • 🔍 Search Spotify directly from the CLI
  • 📋 Select specific tracks from playlists with checkboxes
  • 📊 Live download progress with progress bars
  • 🏷️ Auto-embeds ID3 tags (title, artist, album, artwork)
  • ⚙️ Configurable download directory and settings
  • 🚀 Zero wrapper libraries — built from scratch with native Node.js APIs

License

Apache 2.0