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

klaudio

v0.13.2

Published

Add sound effects to your coding sessions — play sounds when tasks complete, notifications arrive, and more

Readme

klaudio

Add sound effects to your Claude Code sessions. Plays sounds when Claude finishes a task, sends a notification, and more.

Quick Start

npx klaudio

The interactive installer walks you through:

  1. Choose scope — install globally (~/.claude) or per-project (.claude/), or launch the Music Player
  2. Pick a source — use a built-in preset, OS system sounds, scan your Steam & Epic Games library, or provide custom files
  3. Preview & assign — listen to sounds and assign them to events (tab to switch between events)
  4. Toggle voice summary — enable TTS to hear a spoken summary when tasks complete
  5. Install — writes Claude Code hooks to your settings.json

Sound Sources

Built-in Presets

Ready-made sound packs (Retro 8-bit, Minimal Zen, Sci-Fi Terminal, Victory Fanfare) that work out of the box.

System Sounds

Use your OS built-in notification sounds (Windows Media, macOS system sounds, Linux sound themes).

Game Sound Scanner

Scans your local Steam and Epic Games libraries for audio files:

  • Finds loose audio files (.wav, .mp3, .ogg, .flac, .aac)
  • Extracts packed audio (Wwise .wem, FMOD .bank, .fsb) using vgmstream (downloaded automatically)
  • Extracts Unity game audio from .resource files (PCM decoded directly, Vorbis converted via vgmstream)
  • Parses Wwise metadata (SoundbanksInfo.json) for descriptive filenames
  • Categorizes sounds (voice, ambient, music, SFX, UI, creature) for easy browsing
  • Caches extracted sounds in ~/.klaudio/cache/ for instant reuse

Custom Files

Point to your own .wav/.mp3 files.

Music Player

Play longer game tracks (30s–10min) as background music while you code:

  • Shuffle all — scans all cached game audio, filters by duration, picks random tracks continuously
  • Play songs from game — pick a specific cached game and play its music
  • Controls: n next, space pause/resume, esc back
  • Background scanning — starts playing as soon as the first track is found, keeps indexing

Requires previously extracted game audio (use "Scan local games" first).

Voice Summary (TTS)

When enabled, klaudio speaks a short summary of what Claude did after playing the task-complete sound. Uses Piper for fast, offline neural text-to-speech (auto-downloaded on first use, ~40MB total).

  • Toggle with t on the scope or confirm screen
  • Reads the first 1–2 sentences of Claude's last message (up to ~25 words), preserving version numbers and filenames
  • Uses the en_GB-alan-medium voice (British male)
  • Hooks receive data via stdin from Claude Code — no extra setup needed

Features

  • Auto-preview — sounds play automatically as you browse the list (toggle with p)
  • Multi-game selection — pick sounds from different games, tab between events
  • Category filtering — drill into voice, ambient, SFX, etc. when a game has enough variety
  • Type-to-filter — start typing to narrow down long lists
  • Duration filter — type <10s, >5s, <=3s etc. to filter by audio length
  • 10-second clamp — long sounds are processed with ffmpeg: silence stripped, fade out baked in
  • Background scanning — game list updates live as directories are scanned
  • Re-apply current sounds — re-running the installer shows your current selections with a quick re-apply option

Events

| Event | Triggers when | |---|---| | Notification | Claude needs your attention | | Task Complete | Claude finishes a response |

Uninstall

npx klaudio --uninstall

Requirements

  • Node.js 18+ (Claude Code already requires this)
  • Claude Code installed
  • For packed audio extraction: internet connection (vgmstream-cli downloaded automatically)
  • For voice summaries: internet connection on first use (Piper TTS downloaded automatically)
  • For best playback with fade effects: ffmpeg/ffplay on PATH (falls back to native players)

Note: Currently only tested on Windows. macOS and Linux support is planned but not yet verified.