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

@normful/pi-statusline

v0.3.1

Published

Information-rich status line for the Pi TUI — context usage, live streaming CPS, cost, model info, git branch, and hash-colored working directory

Readme

@normful/pi-statusline

Opinionated, information-rich status line widgets for Pi.

Adds footer lines that show context usage, live streaming metrics, cost, model info, and more — all in real time.

pi-statusline screenshot

Installation

pi install npm:@normful/pi-statusline

Configuration

None. And I'd like to keep it that way! :)

UI explanation

First line above editor

Working directory

cwd with the last path segment deterministically hash-colored to easily distinguish between similarly named directories, such as Git worktrees.

Git branch

Last path segment in each Git branch name is also deterministically hash-colored, to let you distingiush between similarly named branches.

Second line above editor

Model ID

Any inline strings with omni or :free/-free suffixes are colored differently, to quickly indicate to you that you're using a free model

Thinking level

The symbol means "thinking" (same symbol used in bottom right footer also)

(The extension also hides the built-in working loader row with setWorkingVisible(false) for a cleaner look.)

Left side of footer below editor

Context window usage warning emojis:

  • 🟦 when between 20% and 30%
  • 🟪 when between 30% and 40%
  • 🟧 when between 40% and 50%
  • 🟥 when above 50%

Actual context tokens / context window (e.g. 12.5K/200K) |

Live elapsed timer: ⏱

Right side of footer below editor

Real-time characters-per-second during streaming, broken down by phase:

  • thinking CPS speed
  • tool call CPS speed
  • text output CPS speed

When not streaming, it shows the average of the most recently completed turn.

CPS values use a light color gradient:

  • 0–30 CPS: red → yellow
  • 30–50 CPS: yellow → blue
  • 50–100 CPS: blue → cyan
  • 100+ CPS: green

Cumulative session cost in millicents (1¢ = 1,000 m¢)

Token ratios 3c:2i:1o means a ratio of: 3 cached input, 2 uncached input: 1 output

Ratios always rounded and normalized so output is 1.

Contributing (or lack thereof)

Since this package is primarily designed for me, I unfortunately won't merge any pull requests to this particular package unless you coincidentally add something matching my visual tastes.

I don't want this to balloon into complex and highly configurable software that tries to make everybody happy (e.g. starship, powerline, nvim-lualine, etc.)

I'd rather keep this code simple.

If you want some tweak, feel free to fork and modify to your liking.

But if you can improve or fix something without changing the general appearance too much, I might merge your pull request. Don't forget to follow this monorepo's AGENTS.md when coding.