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-interactive-lite

v0.1.1

Published

Lightweight interactive-shell alternative for pi: drive terminal programs (agent CLIs, auth flows, anything needing a PTY) through tmux via plain bash, plus a minimal user_input tool to prompt the user for free-form answers. ~150 tokens/round instead of ~

Readme

pi-interactive-lite

Lightweight interactive-shell replacement for pi (~150 tokens/round vs ~5,000 for a full interactive-shell package).

What it gives you

  1. user_input tool — ask the user to type a free-form answer (a value, a path, a confirmation text) through pi's native themed input dialog.

    { "question": "What port should the dev server use?", "placeholder": "e.g. 3000" }

    Rules of thumb:

    • Structured choices (options pickers) belong in your host's question tool, not here.
    • Secrets (passwords, TOTP, keys) never go through this tool or the transcript. Use the skill's attach helper below so the user types them somewhere that isn't logged.
  2. tmux-pty skill — teaches pi itself how to drive interactive terminal programs (coding-agent CLIs, auth flows, approval prompts) through tmux with plain bash. tmux is the PTY manager; no special tools are needed:

    | Need | Command | |---|---| | Spawn detached | tmux new-session -d -s NAME 'CMD' | | Read the screen | tmux capture-pane -p -t NAME | | Type into the program | tmux send-keys -t NAME 'text' Enter | | Hand control to the user — auto-open a terminal | nohup konsole --workdir ~ -e tmux attach -t NAME & (kitty alternative included) | | Capture output while away | tmux pipe-pane -t NAME -o 'cat >> /tmp/NAME.log' | | Kill | tmux kill-session -t NAME |

Why not just load more machinery?

A full interactive-shell package costs roughly 5,000 tokens of every round for schema, descriptions, and prompt text that most tasks never touch. The tmux workflow costs ~0 standing tokens — the skill listing is the only overhead — and covers typing into spawned TUIs, hand-off for secrets, and takeover supervision. Verified end-to-end driving pi's own TUI and sudo authorization.

Requirements

  • tmux on PATH (tested on tmux 3.4; add set -g extended-keys on to ~/.tmux.conf so send-keys Enter works reliably into TUIs)

Use

pi install npm:pi-interactive-lite

Or point settings at a checkout: { "packages": ["/path/to/pi-interactive-lite"] }.

MIT licensed.