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

ccbudget

v0.1.0

Published

CLI-first Claude usage budget advisor and decision engine (ccbudget).

Readme

ccbudget

CLI-first Claude usage budget advisor and decision engine. It classifies budget failure modes, ranks capability-preserving fallback paths across Opus, Sonnet, and Haiku, and emits structured JSON for tooling.

Requirements

  • Node.js 22+ for source builds and npm installs
  • macOS only: Xcode command line tools for codesign when building SEA binaries locally

Quick Start

npx ccbudget advisor now --json

Install

npm / pnpm

pnpm add -g ccbudget
# or
npm install -g ccbudget

ccbudget advisor now
ccbudget advisor now --json

GitHub Releases binary

  1. Open github.com/jamesvillarrubia/ccbudget/releases/latest.
  2. Download the asset matching your platform, for example ccbudget-darwin-arm64, ccbudget-linux-x64, or ccbudget-win32-x64.exe.
  3. Rename it to ccbudget if you want, mark it executable on Unix (chmod +x ccbudget), and move it somewhere on your PATH.
  4. Run ccbudget advisor now --json.

The release binaries are built with Node's single executable application workflow.

Claude Code /budget

Install the personal slash-command template:

mkdir -p ~/.claude/commands
curl -fsSL "https://raw.githubusercontent.com/jamesvillarrubia/ccbudget/main/integrations/claude/commands/budget.md" \
  -o ~/.claude/commands/budget.md

Then run /budget inside Claude Code. The template shells out to ccbudget advisor now, so make sure ccbudget is already on your PATH.

Build from source

pnpm install
pnpm test
pnpm typecheck
pnpm build
pnpm release:smoke

Build a standalone binary locally

pnpm build
pnpm build:sea
pnpm release:smoke:sea

The local binary is written to release/ccbudget (release\ccbudget.exe on Windows).

Publish checklist

pnpm test
pnpm typecheck
pnpm build
pnpm release:smoke
pnpm build:sea
pnpm release:smoke:sea
pnpm pack:dry-run

Tagging v* pushes triggers the GitHub release workflow in .github/workflows/release.yml.

Configuration

Spend policy is read from environment variables. The current knobs live in src/config.ts, and the decision-policy rationale lives in docs/superpowers/specs/2026-04-12-ccbudget-decision-engine-design.md.