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

crs-claude-code-statusline

v1.0.0

Published

Claude Code StatusLine for displaying Claude Relay Service account usage information.

Downloads

6

Readme

crs-claude-code-statusline

Claude Code StatusLine for displaying Claude Relay Service (CRS) account usage information.

screenshot

Installation

npm install -g crs-claude-code-statusline

Usage

Install StatusLine

Run the following command to install the status line to Claude Code:

crs-statusline install

Then restart Claude Code to see the status line.

Uninstall StatusLine

To remove the status line from Claude Code:

crs-statusline uninstall

Help

crs-statusline help

Configuration

Before using the status line, you need to configure your CRS API credentials.

It will be automatically asked during installation, so generally there's no need to manually run configuration commands.

Interactive Configuration

Run the configuration wizard:

crs-statusline config

This opens an interactive menu where you can choose:

  • Display Settings: Configure what information to show
  • API Settings: Configure CRS API credentials

Use arrow keys to navigate, Enter to confirm.

Configuration is saved to ~/.crs-statusline/config.json.

Display Settings

Demo:

Used credit: 10.1% ($8.7/$30.0) | Daily: $8.7, 10.1M | Monthly: $12.1, 13.1M | Total: $15.4, 16.5M

You can customize what information to show:

| Option | Values | Default | Description | | ------------------ | ----------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | Show Used Credit | Enable / Disable | Enable | Shows the most constrained limit (smallest remaining) with percentage and used/limit amount. Displays "Unlimited" when no limits are set | | Show Daily Usage | Auto / Enable / Disable | Auto | Show daily cost and tokens | | Show Monthly Usage | Auto / Enable / Disable | Auto | Show monthly cost and tokens | | Show Total Usage | Auto / Enable / Disable | Auto | Show total cost and tokens | | Use Colors | Enable / Disable | Enable | Use colored output |

  • Auto: Show usage when there's a limit set, or when "Used credit" is enabled
  • Enable: Always show
  • Disable: Never show

If all usage options are disabled (or set to Auto with no limits), nothing will be displayed.

Used Credit Behavior

When "Used credit" is enabled, the other limit information will be hidden (only usage is displayed).

Color Behavior

Color changes based on the higher usage percentage (daily or total):

  • Green: Usage below 70%
  • Yellow: Usage between 70-90%
  • Red: Usage above 90%

When colors are disabled, the status line uses gray color.

API Settings

Configure your CRS API credentials:

  • CRS API URL: Your Claude Relay Service API base URL
  • CRS API Key: Your CRS API key

Environment Variables

You can also configure API credentials via environment variables:

export CRS_API_URL="https://your-crs-api-url.com"
export CRS_API_KEY="your-api-key"

Note: Environment variables take priority over the config file.

View Current Configuration

crs-statusline config show

License

MIT