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

@erica_s/claude-code-notify

v2.1.3

Published

Windows Toast notifications for Claude Code — get notified when tasks finish or need permission

Readme

claude-code-notify

Windows Toast notifications for Claude Code.

Get notified when Claude finishes a task or needs your permission.

Features

  • Toast notification — native WinRT toast, no BurntToast or other modules needed
  • Taskbar flash — flashes the terminal window until you switch to it
  • Click to activate — click "Open" on the toast to jump back to the terminal
  • Zero dependencies — pure PowerShell + WinRT, nothing else to install
  • Deep process tree walk — reliably finds the terminal window even through volta/npx/bash shim chains

Install

# Recommended: global install via volta or npm
volta install @erica_s/claude-code-notify
# or
npm install -g @erica_s/claude-code-notify

Usage

Add to your ~/.claude/settings.json:

{
    "hooks": {
        "Stop": [{ "hooks": [{ "type": "command", "command": "claude-code-notify", "async": true }] }],
        "PermissionRequest": [{ "hooks": [{ "type": "command", "command": "claude-code-notify", "async": true }] }]
    }
}

Note: npx --yes @erica_s/claude-code-notify also works, but the download delay on first run may cause stdin data to be lost in async hooks. Global install is recommended for reliability.

The click-to-activate protocol is registered automatically on install.

Notification Example

生产版本:

Title:   Claude Done (Windows Terminal)
Body:    Task finished
         my-project
Button:  [Open]

开发版本(本地 npm link):

Title:   [DEV] Claude Done (Windows Terminal)
Body:    Task finished
         my-project
Button:  [Open]

How It Works

  1. Reads hook event JSON from stdin
  2. Walks the process tree (ToolHelp32 snapshot) to find the terminal window
  3. Sends a native WinRT toast notification (using PowerShell's registered AppUserModelId)
  4. Flashes the terminal taskbar button

Requirements

  • Windows 10 / 11
  • Node.js >= 16
  • PowerShell 5.1+

Known Limitations

  • Toast source shows as "Windows PowerShell" instead of "Claude Code" (required for toast to display on Windows 10)
  • Windows 10: Click-to-activate ("Open" button) may not work due to OS limitations
  • macOS / Linux: Not supported

License

MIT