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

polygraph

v0.1.5

Published

CLI for the Polygraph meta-harness

Readme

Polygraph is the meta-harness that enables your agent to:

Polygraph wraps the agent you already use. It does not replace it.

Install

The macOS/Linux install script and Homebrew install a standalone executable. Node.js 22.13.0 or newer is required for npm and the current Windows installer.

macOS and Linux

curl -fsSL https://app.trypolygraph.com/install.sh | sh

Windows (PowerShell)

irm https://app.trypolygraph.com/install.ps1 | iex

Homebrew (macOS)

brew install nrwl/tap/polygraph

npm (any platform)

npm install -g polygraph

Install location and PATH behavior are configurable. See Install the Polygraph CLI.

Run it

To get started, just run polygraph in your terminal and it'll guide you through the setup.

Update and diagnose

polygraph update

polygraph upgrade is an alias. The command detects the running installation and updates it through Homebrew, npm, or the install script, preserving its installation location. Script installations use the selected Polygraph instance; pass --url to select another instance explicitly. If the installation cannot be identified confidently, the command prints manual recovery instructions without changing it.

The update command, --version / -v, and --help / -h (including command-specific help) remain available when the installed shell is too old to run session or agent commands. doctor --runtime / doctor --processes also remain available on shells that forward runtime diagnostics to the bundle. The oldest shells, including 0.1.0, handle all doctor invocations themselves and continue to return their existing bootstrap report.

Self-update also supports older npm and Homebrew shells, including 0.1.0, which do not provide invocation metadata. For these shells, the updater identifies the running Node script and verifies its owning npm prefix or Homebrew installation before making changes. Unrecognized installations and invalid invocation metadata produce an error with manual update instructions. These commands arrive through the normal bundle refresh. The shell must still be able to download and load the bundle; a broken download or bundle load may require a manual CLI update.

Credential waits

Commands wait up to 10 minutes when another process is accessing credentials. Set POLYGRAPH_CREDENTIAL_WAIT_TIMEOUT_MS to adjust the wait, for example POLYGRAPH_CREDENTIAL_WAIT_TIMEOUT_MS=120000 polygraph whoami for two minutes. This does not time out credential operations already in progress.

Learn more in the docs