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

claude-notif

v1.6.2

Published

Native macOS notifications for Claude Code — sound + banner when Claude finishes responding

Readme

claude-notif

Native macOS notifications for Claude Code — plays a sound and shows a banner when Claude finishes responding.

Claude Notif settings window

Install

npx claude-notif

That's it. Takes ~20 seconds to compile and install.

What it does

  • Plays a sound and shows a macOS notification banner every time Claude finishes a response
  • Shows the session name and a preview of Claude's last message
  • Different sounds for Done, Error, and Interrupted states
  • Settings window to toggle on/off and pick sounds — open it any time with open ~/Applications/Claude\ Notif.app

Requirements

  • macOS 12 (Monterey) or later
  • Claude Code
  • Xcode Command Line Tools → xcode-select --install
  • jq → brew install jq

Settings

Open the settings window:

open ~/Applications/Claude\ Notif.app

Or find Claude Notif in Spotlight (Cmd+Space).

From there you can:

  • Enable / disable notifications
  • Pick sounds for Done, Error, and Interrupted events
  • Use a custom sound file (any .aiff, .wav, .mp3, .m4a)
  • Send a test notification

Settings are saved to ~/.claude/notifications.json.

Notification types

| Event | Default sound | When it fires | |---|---|---| | Done | Ping | Claude finishes a turn normally | | Error | Basso | Response ends with an error | | Interrupted | Pop | Session cancelled or paused |

What gets installed

~/Applications/Claude Notif.app          ← settings UI + notification sender
~/.claude/hooks/claude-notif-stop.sh     ← fires on every Claude response
~/.claude/hooks/claude-notif-pre-tool-use.sh  ← tracks current tool for context
~/.claude/notifications.json             ← your settings (created if missing)

Two entries are added to ~/.claude/settings.json — existing hooks are not touched.

Custom sounds

Drop a sound file anywhere, then open the app → click the picker for any event → choose "Custom file…"

Supported formats: .aiff, .wav, .mp3, .m4a

Uninstall

npx claude-notif uninstall

Removes the app, hook scripts, and hook entries from settings.json. Optionally removes your config.

How it works

Claude Code runs the stop.sh hook at the end of every response. The hook:

  1. Reads the session transcript to extract the AI-generated session title and last message
  2. Plays the configured sound via afplay
  3. Calls Claude Notif.app with --title and --message args, which fires a UNUserNotificationCenter banner

The app runs in two modes:

  • Notification mode — when called with --title/--message, sends the notification and exits
  • Settings mode — when opened normally, shows the settings window and sits in the menu bar

Building from source

git clone https://github.com/teevoteam/claude-notif
cd claude-notif
bash scripts/install.sh

License

MIT