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

mix-id

v1.0.6

Published

Identify tracks in any DJ mix — from a file or URL. Outputs tracklists as TXT, CUE, and JSON.

Readme

mix-id

Identify every track in a DJ mix — from a local file or streaming URL.

$ npx mix-id https://soundcloud.com/dj/my-set

📥 Downloading...
✅ my-set.mp3 (142.3 MB)

🎵 mix-id
──────────────────────────────────────────────────
File:     my-set.mp3
Duration: 1:30:12
Settings: 30s step, 18s sample
──────────────────────────────────────────────────

[00:00] 1% ✅ The Orb — Little Fluffy Clouds
[00:30] 1% ↩️  The Orb — Little Fluffy Clouds
[01:00] 2% ✅ Surface — Falling in Love
...

──────────────────────────────────────────────────
🎧 TRACKLIST — my-set.mp3
──────────────────────────────────────────────────
 1. [00:00] The Orb — Little Fluffy Clouds
 2. [01:00] Surface — Falling in Love
 3. [04:30] Madonna — Vogue
──────────────────────────────────────────────────

💾 Output:
   my-set_tracklist.txt
   my-set.cue
   my-set_tracklist.json

Install

npm install -g mix-id

Or run directly:

npx mix-id my-mix.mp3

Requirements

  • Node.js 18+
  • ffmpeg — audio processing (brew install ffmpeg)
  • yt-dlp — URL downloads (brew install yt-dlp) — only needed for URLs

Usage

# Local file
mix-id my-mix.mp3

# SoundCloud
mix-id https://soundcloud.com/dj/set-name

# Mixcloud
mix-id https://www.mixcloud.com/dj/show-name

# YouTube
mix-id https://www.youtube.com/watch?v=...

# Custom scan settings
mix-id my-mix.mp3 --step 60 --segment 20

# Resume from a specific position
mix-id my-mix.mp3 --start 3600

Options

| Flag | Default | Description | |------|---------|-------------| | --step | 30 | Seconds between scan points | | --segment | 18 | Sample length for recognition | | --start | 0 | Skip to this position (seconds) | | --help | | Show help |

Output

mix-id generates three files:

  • _tracklist.txt — Paste-friendly format for Mixcloud, etc.
  • .cue — CUE sheet with track markers and timestamps
  • _tracklist.json — Structured data with full metadata

How it works

  1. Downloads audio from URL (if given) using yt-dlp
  2. Splits the audio into overlapping segments
  3. Fingerprints each segment via Shazam's recognition API
  4. Deduplicates consecutive matches (handles DJ transitions)
  5. Outputs clean tracklist in multiple formats

Supported sources

Any URL that yt-dlp supports — that's 1000+ sites including:

  • SoundCloud
  • Mixcloud
  • YouTube
  • Bandcamp
  • And many more

Tips

  • Longer mixes? The default 30s step works well. Use --step 60 to scan faster at the cost of precision.
  • Transitions fuzzy? Shazam sometimes bounces between two tracks during a mix. mix-id deduplicates these automatically.
  • No API key needed. mix-id uses Shazam's public recognition endpoint.
  • Rate limited? mix-id waits 2s between requests to be respectful. A 2-hour mix takes ~8 minutes to scan.

License

MIT