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

@treeport/pi

v0.13.0

Published

Treeport context and CLI guidance for Pi.

Readme

@treeport/pi

Tell Pi that it works inside Treeport, describe Treeport capabilities, and provide access to the Treeport CLI.

Requirements

Install these applications first:

  • Treeport 0.5.0 or later;
  • Pi 0.84.3 or later;
  • Node.js 24 or later;
  • macOS or Linux.

Make sure that the treeport command is on PATH.

Install

Install the package globally in Pi:

pi install npm:@treeport/pi

The package contains a Pi extension and the detailed Treeport skill.

The extension starts only in a terminal that Treeport manages.

A managed Pi session shows this footer status:

treeport · <tree-name>

Outside Treeport, the extension adds no guidance, notification, or footer status.

Use natural requests

Ask Pi to do the work. You do not have to name Treeport.

Examples:

  • “Start the development server.”
  • “Stop the development server.”
  • “Open the app and check the settings page.”
  • “Do this side quest in a separate tree.”

In a managed session, the extension tells Pi that it works inside Treeport.

It describes persistent terminals, browser support, and project and tree management.

It includes the current project and tree names. It does not include IDs, paths, or the daemon URL.

Pi uses the treeport CLI through its standard Bash tool.

Pi consults CLI --help when it needs command syntax or options. The context does not include command procedures or help output.

Pi uses a persistent terminal for a long-running process. Pi uses Bash directly for a finite command.

When you ask Pi to stop a process, Pi can delete its persistent terminal. Pi must not delete its own terminal.

For a side quest, Pi can use another terminal in the current tree. It can use treeport spawn for another tree.

Pi can control visible browser tabs when the Treeport CLI and daemon support browser commands.

The browser tabs stay open so you can inspect them.

The safety guidance requires your approval before a browser runtime installation.

Use the skill for detailed workflows

The bundled skill contains detailed Treeport CLI procedures.

Pi does not need the skill for routine terminal or browser operations.

Use the skill for lifecycle operations, remote access, updates, recovery, or complex child-tree work.

Remove

Remove the package from Pi:

pi remove npm:@treeport/pi