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

overburn

v0.1.1

Published

Audits local Claude Code session logs for recoverable waste.

Readme

overburn

ccusage tells you what you spent. Overburn tells you what you shouldn't have.

Overburn audits your local Claude Code session logs and reports how much of your spend was recoverable waste — with a named cause and a concrete fix for every dollar. It runs 100% on your machine, against logs that already exist on disk. No server, no account, no data ever leaves your computer.

npx overburn

CI

  ◤ Overburn · audit of ~/.claude/projects · last 30 days

  You overburned an estimated $136 of $203 API-equivalent value.
  That's 67% of your usage you didn't need to spend.

  ▍Where it went
  ● Zombie context     $98   cacheRead beyond the 80k-token baseline
  ● Model mismatch     $37   Opus used for work Sonnet handles
  ● Redundant reads    $1    DatasetDetail.tsx read 21× in one session
  ○ Fat tool outputs   $0    no >50k-token tool dumps — healthy ✓
  ○ Failure loops      $0    tool error rate 4% — healthy ✓

  ▍Top fixes (est. $135/mo back)
  1. /clear between unrelated tasks
  2. Set the default model to Sonnet for routine work
  3. Read files once; rely on prior reads in context

What it does

Every other tool in the space is a meter — "how much did I use?" Overburn is the audit — "how much did I waste, why, and what do I change?" It looks for:

  • Zombie context — requests dragging six-figure token counts a disciplined workflow wouldn't need.
  • Model mismatch — premium-model calls doing work a cheaper model handles.
  • Redundant reads — the same file read over and over in one session.
  • Failure loops — repeated tool errors burning tokens.
  • Fat tool outputs — giant command dumps that live in context forever.
  • Session hygiene — marathon sessions that never got a /clear.

Overlapping causes are never double-counted: Overburn attributes each dollar of waste exactly once (see the joint attribution model in docs/PLAN.md).

Commands

| Command | What it does | | --- | --- | | overburn | The default terminal report (headline waste, findings, top fixes). | | overburn report | Writes a self-contained overburn-report.html and opens it — with the sawtooth context-growth chart, finding cards, and per-project/session tables. Works fully offline. | | overburn explain <id> | The math behind one detector, e.g. overburn explain zombie-context. | | overburn share | Writes a shareable overburn-share.svg card — scrubbed of paths and project names by default. | | overburn pricing [--refresh] | Show the active pricing table, or refresh it from the maintained copy. | | overburn --json | The full AuditReport as JSON, for scripting. |

JSON output

overburn --json prints a single AuditReport object — the same shape the HTML report is built from. Its schema is defined (and validated) as a zod schema in src/report.ts (auditReportSchema): top-level totals (spentUSD, wasteUSD, wastePct), a findings[] array (each with detector, severity, wasteUSD, attributedUSD, evidence, fix, perSession), an attribution block, framing, and coverage. Dollar amounts are exact (cents) in JSON; the terminal report rounds to whole dollars. See docs/PLAN.md §5.2 for the field-by-field contract.

Common flags

  • --since 7d|30d|all — time window (default 30d).
  • --project <substring> — only logs whose path contains this substring.
  • --dir <path> — audit a specific file or directory instead of ~/.claude/projects.
  • --no-ai — skip the optional AI narrative (see below).
  • --no-open — for report/share, don't auto-open the written file.

The optional AI layer

When you run the interactive report and the claude CLI is on your PATH, Overburn can add a short natural-language read and up to three CLAUDE.md suggestions — produced by your own claude -p, so your subscription pays and there's zero server cost.

It is strictly additive and privacy-preserving: only a compact numeric digest (detector ids, severities, dollar amounts, totals) is ever sent to claudenever any log content, prompts, or file paths. Any failure (no claude, timeout, unparseable output) degrades silently to the deterministic report. Turn it off entirely with --no-ai.

Privacy

No telemetry. No account. The only network call Overburn ever makes is the opt-in overburn pricing --refresh (fetching the maintained pricing table from this repo). No log content is transmitted anywhere — the AI layer sends only the numeric digest described above, to a binary running on your own machine. Overburn never modifies your Claude Code settings or CLAUDE.md; it prints snippets, you apply them.

Install

Requires Node.js >= 18. Runs on macOS, Linux/WSL, and Windows (logs are read from ~/.claude/projects, or %USERPROFILE%\.claude\projects on Windows).

npx overburn          # no install — run the latest
# or
npm install -g overburn

Development

npm ci              # install dependencies
npm run typecheck   # type-check without emitting
npm test            # run the test suite (vitest)
npm run build       # compile to dist/

The full product spec lives in docs/PLAN.md.

License

MIT