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

@tomascabralh/cclimit

v0.1.2

Published

Credential-free Claude Code status line: plan-limit usage (5h/7d), context, git branch and session cost. No token, no Keychain, no network.

Readme

cclimit

A credential-free Claude Code status line that shows how close you are to your plan limits -- the 5-hour and 7-day windows -- plus context, git branch, and session cost.

Opus 4.8 | 5h ███████░ 85% 2h53m | 7d █░░░░░░░ 8% 6d18h | ctx 13% | main* | $5.26

Why cclimit

  • Zero credential access. Other usage monitors read your OAuth token from the Keychain and poll Anthropic's API. cclimit reads only the JSON that Claude Code already pipes to a status-line command -- no token, no Keychain, no network.
  • Lightweight and local. A single zero-dependency Node CLI. It reads nothing but the status-line payload and your own config file.

Requires Claude Code v2.1+ on a Pro/Max plan (the plan-limit fields are only present then; with an API key the line shows (no plan data)).

Install

npx @tomascabralh/cclimit install

This adds a statusLine entry to ~/.claude/settings.json (existing settings are backed up to settings.json.bak). Open a new Claude Code session to see it. The installed command is just cclimit.

Remove it with npx @tomascabralh/cclimit uninstall.

Configuration

Optional ~/.claude/cclimit.json (honors CLAUDE_CONFIG_DIR):

{
  "segments": ["model", "fivehour", "sevenday", "context", "git", "cost"],
  "color": true,
  "barWidth": 8,
  "barStyle": "blocks",
  "thresholds": { "warn": 50, "crit": 80 }
}
  • barStyle: "blocks" (default, ███░░░), "ascii" ([###---]), or "dots" (●●●○○○).
  • segments: which segments to show, and in what order.
  • Set color: false (or the NO_COLOR env var) to disable ANSI colors.

What it reads

cclimit consumes these fields from the status-line payload, all provided by Claude Code: model.display_name, context_window.used_percentage, cost.total_cost_usd, and rate_limits.{five_hour,seven_day}.{used_percentage,resets_at}. Nothing else. No files are read except your own cclimit.json config.

License

MIT