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-pretty-statusline

v1.0.1

Published

An opinionated, theme-aware status line for Claude Code CLI — adaptive light/dark, cost tracking, and more

Readme

cc-pretty-statusline

An opinionated, theme-aware status line for Claude Code CLI.

Automatic light/dark detection, session cost tracking, usage bars, and honest respect for CLAUDE_CONFIG_DIR so multi-account setups don't cross-contaminate.

Features

  • Adaptive light/dark palette that follows macOS system appearance, or pin it at install time with --theme light|dark.
  • Model, context bar, branch + diff, session duration, 5h/7d rate limits, today / total cost, Extra usage, Claude Code version.
  • Multi-account safe — scoped by CLAUDE_CONFIG_DIR.

Fonts

Needs a Nerd Font (or Nerd Font fallback) — otherwise icons render as . Recommended: Lilex or JetBrains Mono Nerd Font from nerd-fonts.

Install

Requires jq, curl, and git on $PATH. Optional: ccusage (npm i -g ccusage) for the cost / usage line — without it that line is hidden.

npx cc-pretty-statusline

Or clone and run:

git clone https://github.com/minoism/cc-pretty-statusline
cd cc-pretty-statusline
node bin/install.js

The installer prompts for a palette — pick auto to follow your terminal's theme, or pin light / dark. For non-interactive installs, pass the mode directly:

npx cc-pretty-statusline --theme auto    # detect per render
npx cc-pretty-statusline --theme light   # pin light
npx cc-pretty-statusline --theme dark    # pin dark

auto writes a plain bash "~/.claude/statusline.sh" entry; pinned modes prepend CLAUDE_STATUSLINE_THEME=<mode> to the command. Re-run the installer any time to change the choice.

It copies statusline.sh into your CLAUDE_CONFIG_DIR (default ~/.claude) and writes the statusLine entry into your settings.json. Existing files are backed up to statusline.sh.bak.

Restart Claude Code to see the new status line.

Uninstall

node bin/install.js --uninstall

Restores the previous statusline if a backup exists; otherwise removes the file and the settings.json entry.

Multiple accounts

The installer honors CLAUDE_CONFIG_DIR, so each Claude Code profile gets its own copy of statusline.sh and its own settings.json entry. Export the variable and run the installer once per profile:

CLAUDE_CONFIG_DIR=/path/to/other-profile npx cc-pretty-statusline --theme auto

Cache files and keychain lookups in statusline.sh are already scoped per CLAUDE_CONFIG_DIR, so profiles stay isolated at runtime too.

Terminals that don't follow macOS appearance

Auto mode reads macOS system appearance, so any terminal that follows the system (Zed's theme.mode: "system", Terminal.app default, iTerm's auto-switch, etc.) just works. For terminals locked to a fixed theme (iTerm with a pinned profile, WezTerm, Alacritty, Zed with a hard-coded theme.mode), two escape hatches:

Bind a theme-toggle. Run this alongside your terminal's own light/dark toggle:

~/.claude/statusline.sh --set-theme light   # or dark, or auto to re-detect

Pre-launch probe. Add this to your shell rc to capture the terminal's real background before Claude starts:

eval "$(~/.claude/statusline.sh --probe-bg)"

Only captures the initial state — for mid-session toggles use --set-theme.

Credits

Forked and substantially rewritten from kamranahmedse/claude-statusline.

License

MIT — see LICENSE.