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

@gaosh3n/pi-peer-addon

v0.1.3

Published

An add-on built on top of Pi extension pi-peer

Readme

pi-peer-addon

pi-peer-addon is an add-on built on top of Pi extension pi-peer.

Important prerequisites

  • pi-peer-addon requires the extension pi-peer to already be installed in Pi.
  • pi-peer-addon currently supports local peers only; remote peers are not supported yet.

What you get

  • /peer-addon list-peers to browse local peers in Pi
  • /peer-addon clean-up-peers to clean up eligible local peers from Pi
  • /peer-addon introduce-peers to introduce the current local peer to other local peers
  • a two-page TUI for browsing and cleanup: Current dir and Other dirs
  • checkbox-style multi-select cleanup for peer records and inboxes
  • a tabbed peer-introduction prompt with Prepared, Sent, and Skipped pages
  • conservative cleanup safety checks

Install both extensions

Install pi-peer first, then install this package:

pi install npm:@shift-labs/pi-peer
pi install npm:@gaosh3n/pi-peer-addon

Then restart Pi or run /reload.

How to use it

List local peers

Run:

/peer-addon list-peers

Pi shows a two-page picker for local peer records. Use Tab or ←→ to switch between Current dir and Other dirs.

Clean up local peers

Run:

/peer-addon clean-up-peers

Pi shows a two-page checkbox-style picker for local peer records. Use Tab or ←→ to switch between Current dir and Other dirs, use to toggle selection, press f to toggle safe-mode on/off, then press Enter to clean the selected peers. With safe-mode on, only offline peers with empty inboxes are eligible. With safe-mode off, other live/stalled peers and peers with pending mail can also be selected.

Introduce local peers

Run:

/peer-addon introduce-peers

Pi prepares one first-person greeting message per local peer record, delivers the target-specific receiver messages to the other local peers through a quieter add-on greeting path, also emits the sender's own greeting in the same raw receiver style, and then shows a tabbed peer list for Prepared, Sent, and Skipped introductions.

Notes

  • This package reads peer record files under ~/.pi/agent/peers/.
  • /peer-addon introduce-peers uses pi-peer records for discovery, but delivers greeting files through the add-on's own watched path inside each peer inbox so receivers see only the raw greeting content, without pi-peer's default behavior.
  • Cleanup re-checks disk state before deletion.
  • Safe-mode can be toggled with f. Even with safe-mode off, the current session's own peer mailbox is still never removable.
  • If pi-peer is missing, this package should be treated as not fully configured.

Acknowledgements

Thanks to pi-peer. This extension is built as an add-on for it.