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

centrail

v0.8.1

Published

Sync your local AI coding-agent usage (Claude Code, GitHub Copilot CLI, Codex) to centrail.org.

Readme

centrail

One command turns your AI usage into a dashboard: what your coding agents did, what it cost, and what it produced.

npx centrail connect

That is the whole install. No global package, no SDK, no proxy, no code changes.

What it does

Centrail is the system of record for AI work. The CLI reads the usage logs your coding agents already write on your machine, attributes tokens to the git commits they helped produce, and syncs usage metadata to your dashboard at centrail.org.

  • Spend: estimated cost per day, per project, per model. See a year of AI spend in two minutes.
  • Git attribution: cost per commit, per branch, per PR. What did this PR cost? We're the only ones who can tell you.
  • Budgets and alerts: get warned when today's burn is a multiple of normal. Your AI bill can never surprise you again.
  • Savings: see when a cheaper model does the same job. We find you AI savings.
  • Footprint: estimated energy, water, and CO2 for every token, included free.
  • Teams: roll the same numbers up per seat and per project. The AI spend report your CFO actually asks for.

What it tracks

  • Claude Code (local session logs)
  • GitHub Copilot CLI (local session logs)
  • Codex (local session logs)
  • Provider APIs and chat-app usage connect on the web side; the CLI is the coding-agent and git half.

Privacy first

The CLI reads logs locally. Usage uploads contain an opaque event ID, model, token counts, and timestamp. To a server that accepts them, once you have chosen which repos sync, they add the repo identity (github.com/owner/repo or a root-commit hash, its root commit and the folder name), the session id, the branch, and a random per-install id. Git attribution contains the repo name, branch, commit SHA, commit time and aggregate line/file counts, and to a server that accepts them a content hash of each commit's change (git patch-id) that proves a rebased or squashed commit is the same work without revealing it. Absolute paths, hostnames, platform details, provider-account details, prompts, completions, diffs, commit messages and source code are never uploaded; npx centrail inspect --last prints the real payload. The full guarantee is documented at Local token capture and the privacy policy.

Pricing

Personal use is free. Team Standard is $99/mo for 10 seats. Team Pro is $199/mo for 10 seats and adds Trails. Personal Pro is $6/mo. Details at centrail.org/pricing.

Links

License

Apache-2.0. Source at github.com/braydenyancy/centrail-cli.