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

cc-peak-hours

v1.0.0

Published

Claude Code statusline showing peak/off-peak hours with countdown

Readme

claude-peak-hours

License: MIT Platform CI

A Claude Code statusline plugin that shows whether you're in peak or off-peak hours, with a countdown to the next transition.

During peak hours (12:00-18:00 UTC / 8AM-2PM ET on weekdays), Anthropic applies stricter session limits and tokens are consumed faster. This statusline shows you exactly when you're in peak, when it changes, and helps you plan your usage.

Inspired by isclaude-2x.

Install

npx cc-peak-hours

Restart Claude Code after installing.

Options

npx cc-peak-hours                            # minimal (default)
npx cc-peak-hours --full                     # dashboard with timeline + rate limits
npx cc-peak-hours --24h                      # force 24h time format
npx cc-peak-hours --12h                      # force 12h time format
npx cc-peak-hours --lang fr                  # French labels
npx cc-peak-hours --full --24h --lang fr     # combined
npx cc-peak-hours --uninstall                # restore previous statusline

Modes

Minimal (default)

One line. Everything you need at a glance.

Off-peak (French, 24h):

Minimal off-peak FR

Off-peak (English, 12h):

Minimal off-peak EN

Shows: model name, current directory, context remaining %, peak status with countdown.

Full (--full)

Dashboard with visual timeline and real-time rate limits.

Full mode (French, 24h):

Full mode FR

Full mode (English, 12h):

Full mode EN

The timeline bar shows your full day in local time -- green for off-peak hours, yellow for peak hours, and a white dot for where you are now.

Rate limits (session 5h + weekly) are read directly from Claude Code -- no extra API calls, zero latency.

Localization

Supports English (default) and French. Auto-detected from your locale, or forced with --lang.

Time format

Auto-detected from locale (French -> 24h, English -> 12h), or forced with --24h / --12h.

Remote config

Peak hours are loaded from a remote config file on this repo, cached locally for 1 hour. If Anthropic changes peak hours, updating this file updates all users automatically -- no plugin update needed.

Falls back to hardcoded defaults (Mon-Fri 12:00-18:00 UTC) if the fetch fails.

Config format

{
  "version": 2,
  "peak_windows": [
    { "days": [1, 2, 3, 4, 5], "start_utc": 12, "end_utc": 18 }
  ]
}

All times are in UTC. Multiple windows supported. end_utc < start_utc means the window crosses midnight.

How it works

  • Loads peak hours config from GitHub (cached 1h, hardcoded fallback)
  • All peak calculations done in UTC -- no DST ambiguity
  • Converts to your local timezone for display
  • Rate limits read directly from Claude Code stdin (no network calls)
  • Supports multiple peak windows and midnight-crossing windows

Requirements

  • macOS or Linux
  • Node.js -- for the installer only
  • jq -- brew install jq or sudo apt install jq
  • curl -- pre-installed on most systems

Contributing

This project is not open to external contributions. See CONTRIBUTING.md for details.

If you notice Anthropic changed their peak hours, please open an issue and we'll update the config.

Security

This is a read-only statusline plugin. It does not:

  • Send your data anywhere (except fetching the public config from this repo)
  • Store credentials (it reads existing Claude Code data from stdin)
  • Modify your code or files (except ~/.claude/settings.json and ~/.claude/statusline.sh during install)

If you find a security issue, please open a private security advisory instead of a public issue.

License

MIT