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-done

v1.0.1

Published

Native OS notifications when Claude Code finishes a task

Downloads

111

Readme

claude-done

Native OS notifications when Claude Code finishes a task.

npm version License: MIT

When Claude Code completes a task, claude-done sends a native desktop notification showing the project name, type, and framework. Click the notification to bring your terminal back to the foreground.

Quick Start

npm install -g claude-done
claude-done setup

That's it. You'll now get notifications whenever Claude Code finishes working.

What You Get

  • Rich notifications with project name and detected framework (e.g., myapp (Node.js/Next.js) - Task complete)
  • Click-to-focus — click the notification to bring your terminal to the foreground
  • Cross-platform — Windows, macOS, and Linux
  • i18n — 8 languages (en, fr, es, de, pt, it, ja, zh)
  • Non-destructive — merges with your existing Claude Code hooks

CLI Reference

claude-done              # Hook mode: read stdin JSON, show notification
claude-done setup        # Configure Claude Code hooks
claude-done test         # Send a test notification
claude-done config       # View or change configuration
claude-done uninstall    # Remove hooks from Claude Code settings
claude-done --help       # Show help
claude-done --version    # Show version

Configuration

claude-done config --lang fr          # Set language
claude-done config --sound false      # Disable notification sound
claude-done config --show             # Show current config

Configuration is stored in ~/.claude-done.json.

Project Detection

claude-done detects your project type from the working directory:

| File detected | Type | Frameworks detected | |-------------------------|----------|-------------------------------------| | package.json | Node.js | React, Next.js, Vue, Nuxt, Svelte, Express, Fastify, NestJS, Angular | | Cargo.toml | Rust | — | | pyproject.toml / requirements.txt | Python | Django, Flask, FastAPI | | go.mod | Go | — | | pom.xml | Java | Spring | | Gemfile | Ruby | Rails, Sinatra | | *.sln / *.csproj | C#/.NET | — |

Falls back to the directory name if no project file is found.

Supported Languages

| Code | Language | |------|------------| | en | English | | fr | French | | es | Spanish | | de | German | | pt | Portuguese | | it | Italian | | ja | Japanese | | zh | Chinese |

Language is auto-detected from your system locale, or set manually with claude-done config --lang <code>.

Click-to-Focus

| Platform | Method | |-----------|-----------------------------------------| | Windows | PowerShell + Win32 SetForegroundWindow | | macOS | osascript (AppleScript) | | Linux | wmctrl / xdotool (best-effort) |

How It Works

claude-done registers as a Claude Code hook. When Claude Code triggers a Notification or Stop event, it pipes JSON to claude-done via stdin. claude-done parses the working directory, detects the project, and sends a native notification.

Uninstall

claude-done uninstall    # Remove hooks from Claude Code settings
npm uninstall -g claude-done

Development

git clone https://github.com/dyshay/claude-done.git
cd claude-done
npm install
npm test

License

MIT