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-menu-tree

v0.1.5

Published

A hierarchical slash-command menu for Pi.

Readme

Pi Menu Tree

A hierarchical slash-command menu for Pi. It turns the flat / command list into keyboard-navigable categories without leaving the terminal.

Features

  • Shows a category menu immediately when you type /.
  • Groups commands into Native commands, Extensions, Skills, and Prompt templates.
  • Opens each group as an inline submenu beneath Pi's editor.
  • Uses Esc for navigation: submenu → root menu → editor.
  • Preserves Pi's native command and path autocomplete when you type a command directly, such as /model or /skill:typescript.

Usage

  1. Type / in Pi. The root menu opens immediately.
  2. Use / and Enter to select a category.
  3. Select a command from its submenu.
  4. The command is placed in the editor. Press Enter once to run it, exactly as with Pi's native autocomplete.
⚙ Native commands
🧩 Extensions
🧠 Skills
📋 Prompt templates

Press Esc in a submenu to return to the categories, or press Esc in the root menu to close it.

Installation

npm

After publishing:

pi install npm:pi-menu-tree

From a Git repository

pi install git:github.com/<YOUR_GITHUB_USER>/pi-menu-tree

Local development

pi install ./pi-menu-tree

Restart Pi or run /reload after installing or updating the package.

Publishing

The GitHub Actions workflow publishes when a version tag is pushed. It uses npm trusted publishing (OIDC), so no long-lived npm token is stored in GitHub.

Before the first release, configure joisephdev/pi-menu-tree as a trusted publisher for this package in npm. Then publish a release by updating version in package.json and pushing its matching tag:

npm version 0.1.0
# Review the generated commit and tag.
git push origin main --follow-tags

The tag must match the package version, for example v0.1.0.

How it works

Pi Menu Tree decorates the active editor through Pi's public editor API. It retains the underlying editor's styling and application shortcuts, delegating all autocomplete except the exact / input, which opens this package's menu tree.

Compatibility

  • Pi with extension support.
  • Node.js 20 or later.
  • Compatible with custom editors such as @sting8k/pi-droid-styling; install Pi Menu Tree after the styling extension so it can decorate that editor.

Security

Pi extensions execute with your user permissions. Review the source before installing from a third-party repository.

License

MIT