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

@landienzla/claude-code-notify

v1.2.0

Published

Cross-platform desktop notifications for Claude Code — plugin and CLI setup tool

Downloads

942

Readme

claude-code-notify

CI npm License: MIT

Cross-platform desktop notifications for Claude Code. Get notified when Claude Code needs your attention — permission approval, task completion, idle prompts, and more.

Works as a Claude Code plugin (zero config) or as a CLI setup tool.

Platforms

| Platform | Method | |----------|--------| | Windows | Toast notification (slides in from right) | | macOS | Native notification center | | Linux | notify-send (libnotify) | | WSL | Windows toast via PowerShell |

Notifications are silent by default. Use --sound to enable sound. Use --name to give your Claude a name.

Quick Start

npx @landienzla/claude-code-notify setup

Done. Restart Claude Code and you'll get desktop notifications.

Installation

Option 1: CLI Setup

npx @landienzla/claude-code-notify setup

This installs the notification script to ~/.claude/scripts/ and adds a Notification hook to ~/.claude/settings.json. Your existing settings are preserved.

Option 2: Plugin Mode

Install globally:

npm install -g @landienzla/claude-code-notify
claude --plugin-dir $(npm root -g)/@landienzla/claude-code-notify

Or per-project:

npm install @landienzla/claude-code-notify
claude --plugin-dir ./node_modules/@landienzla/claude-code-notify

Plugin mode requires no changes to your settings.json — the hook is loaded automatically via the plugin system.

CLI Commands

| Command | Description | |---------|-------------| | claude-code-notify setup | Install notification hook (silent) | | claude-code-notify setup --sound | Install with sound enabled | | claude-code-notify setup --name "Jarvis" | Install with a custom name | | claude-code-notify dry-run | Preview what setup will change (no writes) | | claude-code-notify test | Send a test notification | | claude-code-notify uninstall | Remove notification hook and script | | claude-code-notify help | Show usage info |

Options can be combined: claude-code-notify setup --sound --name "Jarvis"

Run dry-run first to see exactly what files will be created/modified before committing.

How It Works

Claude Code fires a Notification hook whenever it needs your attention. This package provides a handler that:

  1. Reads the notification context (JSON via stdin)
  2. Extracts the message (e.g. "Waiting for permission to edit file.py")
  3. Detects your OS
  4. Sends a native desktop notification with the contextual message

Notification Events

The hook fires on all notification types:

  • Permission prompts — Claude needs approval to run a tool
  • Idle prompts — Claude is done and waiting for input
  • Auth events — Authentication completed
  • Elicitation dialogs — Claude is asking a question

Requirements

  • Node.js — already installed if you're using npm
  • Linux: libnotify-bin for notify-send
    # Debian/Ubuntu
    sudo apt install libnotify-bin
    
    # Fedora
    sudo dnf install libnotify
    
    # Arch
    sudo pacman -S libnotify
  • macOS: Your terminal app may need notification permission in System Settings > Notifications
  • Windows/WSL: PowerShell (included with Windows)

Uninstall

CLI mode:

npx @landienzla/claude-code-notify uninstall

Plugin mode: Remove the --plugin-dir flag from your Claude Code command.

Troubleshooting

Notifications not appearing on Windows/WSL:

  • Ensure Focus Assist / Do Not Disturb is off
  • Check Windows Settings > System > Notifications

Notifications not appearing on macOS:

  • Go to System Settings > Notifications > [Your Terminal App] > Allow Notifications

Notifications not appearing on Linux:

  • Install libnotify-bin (see Requirements)
  • Ensure a notification daemon is running (e.g. dunst, mako, GNOME/KDE built-in)

License

MIT