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

pi-btw-cc

v0.2.0

Published

Claude Code-style /btw side questions for pi: a no-tools side thread in a floating overlay, persisted per session and promotable into the main conversation with one key.

Readme

pi-btw-cc

npm CI license

/btw side questions for pi: ask about the work in progress without derailing it. The answer lands in a floating overlay instead of the main conversation, and only reaches it if you promote it with f.

/btw what does the retry wrapper do on a 429?

Install

pi install npm:pi-btw-cc
pi install git:github.com/Nouvelle-Lune/pi-btw-cc   # or from GitHub

Needs Node >= 22.19 and pi 0.85.x.

Usage

| Command | | | --- | --- | | /btw <question> | Ask a side question — opens the overlay and starts the request right away | | /btw | Reopen the overlay on the existing side thread (no model call) |

| Key | | | --- | --- | | ↑ ↓ | Scroll the answer | | ⇧← ⇧→ | Browse the side thread | | e | Expand or fold a long side question | | c | Copy the selected answer | | f | Promote the selected exchange into the main conversation | | x | Delete the selected side question | | Esc Enter | Close |

The selected exchange is the one expanded in the body and the one ⇧←/⇧→, e, c, f and x act on. The thread list under it marks the selection with ❯, and the footer shows the position as 2/3.

A question that wraps to more than three rows is folded to its first line plus a … N more lines (e to show) marker, so it does not push the answer — or the spinner while the request runs — out of the body. e unfolds the selected question; opening the overlay again starts folded.

f adds the selected exchange to the main conversation, and the main agent answers it on its next turn:

Notes

  • A side request sees the session's conversation (compaction-aware) but has no tools: it answers from context only, in one response, and cannot read files or run commands.
  • Side questions stay in the session, so the thread continues across restarts, /reload, /resume and /tree branches.
  • Promotion only appends, so the main conversation's cached prompt prefix stays valid. While a side request is still running, f waits instead of aborting it.
  • Side requests don't share the main conversation's prompt cache, so their input tokens are billed in full.
  • On narrow terminals the key hints wrap onto more rows and the answer area shrinks to keep them visible.
  • Depending on the fold, a state change reveals what changed: a folded question keeps the top of the exchange in view, an unfolded one scrolls to the answer (or to the error) below the question. On a terminal too short to show both, the answer or status row wins over the question top.

Development

npm install
npm run typecheck
npm test
npm run docs:images   # regenerate docs/*.svg + docs/*.png (needs rsvg-convert)

License

MIT