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

isclaude-2x

v1.1.0

Published

Claude Code statusline that shows if you're in 2x mode (March 2026 promotion)

Readme

isclaude-2x

A Claude Code statusline that tells you if you're in 2x mode during the March 2026 usage promotion.

During off-peak hours (outside 8AM–2PM ET on weekdays), Claude gives you 2x usage that doesn't count toward your weekly limits. This statusline shows you exactly when you're in 2x, when it changes, and how much time is left.

Install

npx isclaude-2x

Restart Claude Code after installing.

Options

npx isclaude-2x          # minimal — clean single line (default)
npx isclaude-2x --full   # full — dashboard with timeline + rate limits
npx isclaude-2x --uninstall

Modes

Minimal (default)

One line. Everything you need at a glance.

During 2x (off-peak):

Opus 4.6 │ 39% │ ⚡ 2x ~ 1x 9:00am (5h12m) │ 12d left

During 1x (peak hours):

Opus 4.6 │ 39% │ 1x ~ 2x 3:00pm (1h45m) │ 10d left
  • Model name and context window usage
  • Current mode with countdown to the next transition (in your local timezone)
  • Days remaining in the promotion

Full (--full)

Dashboard with visual timeline and real-time rate limits.

During 2x (off-peak):

Opus 4.6 │ 39% │ ⚡ 2x ~ 1x 9:00am (5h12m) │ 12d left

today  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━  ━ 2x ━ 1x 9am-3pm  ● now
current ●●●●○○○○○○  42% ⟳ 10:00pm │ weekly  ●●●○○○○○○○  31% ❄ ⟳ mar 20

During 1x (peak hours):

Opus 4.6 │ 23% │ 1x ~ 2x 3:00pm (1h45m) │ 10d left

today  ━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━━━━━━━━━  ━ 2x ━ 1x 9am-3pm  ● now
current ●●○○○○○○○○  18% ⟳ 2:30pm │ weekly  ●●●○○○○○○○  30% ⟳ mar 20

Weekend (all day 2x):

Opus 4.6 │ 12% │ ⚡ 2x ~ 1x 9:00am (1d14h) │ 9d left

today  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━━━━━━━  ━ 2x all day  ● now
current ●○○○○○○○○○   5% ⟳ 8:00pm │ weekly  ●●○○○○○○○○  15% ❄ ⟳ mar 22

The timeline bar shows your full day in local time — green () for 2x hours, yellow () for 1x peak hours, and a white dot () for where you are now.

The next to weekly usage means your limit is frozen — usage during 2x doesn't count.

How it works

  • Detects your local timezone automatically
  • Converts peak hours (8AM–2PM ET) to your local time
  • Shows countdowns to the next mode transition
  • Fetches real rate limits via Claude's OAuth API (cached for 60s)
  • All times displayed in your timezone

Requirements

  • macOS or Linux (GNU coreutils)
  • jqbrew install jq or sudo pacman -S jq / apt install jq
  • curl — pre-installed on most systems

What is the 2x promotion?

From March 13–28, 2026, Claude offers 2x usage during off-peak hours for Free, Pro, Max, and Team plans. Off-peak usage doesn't count toward your weekly limits. Peak hours are 8AM–2PM ET on weekdays. Weekends are fully off-peak.

Full details →

License

MIT