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-papercuts

v0.3.0

Published

Agent complaint box for Pi: file friction into an append-only .papercuts.jsonl, then keep working.

Readme

pi-papercuts

Agent files one-line friction notes into .papercuts.jsonl and keeps working. Review the backlog later.

Port of treygoff24/papercuts (MIT) for Pi. Pure Node. Needs Pi + Node 22+.

Install

pi install npm:pi-papercuts

From a clone of this monorepo:

pi install ./packages/pi-papercuts

Use

papercuts({ action: "add", text: "what broke + what would have prevented it", tags: ["tooling"], severity: "major" })
papercuts({ action: "list" })
papercuts({ action: "list", format: "md" })
papercuts({ action: "resolve", ids: ["pc_9f2c"], note: "fixed" })
papercuts({ action: "doctor" })
papercuts({ action: "schema" })

| Action | What it does | |--------|----------------| | add | File a cut (text required). Optional tags, severity. Evidence is free-note or cmd/exit/stderr, not both. Wire alias logadd. | | list | Open cuts by default. Filters: status, agent, tag, severity, limit, format (json | md). | | resolve | Mark ids resolved (pc_ + ≥4 hex). Append-only. | | doctor | Validate the log. | | schema | Machine contract for agents. |

Severity: minor (default), major, blocker. Ids are content-addressed; duplicate adds are no-ops.

Interactive Pi uses a compact themed call/result view. Expand a tool row for the full text, tags, and log path. Structured result details remain available to the agent and session history.

Where it stores

  1. file param
  2. PAPERCUTS_FILE
  3. nearest .git<root>/.papercuts.jsonl
  4. else ~/.papercuts/log.jsonl

Optional: PAPERCUTS_AGENT, PAPERCUTS_NOW (tests).

echo .papercuts.jsonl >> .gitignore   # keep local only

With pi-deferred-context-engine, defaults pin papercuts so it stays active.

Gotchas

  • Does not auto-detect failures -- the agent has to call it (habit / AGENTS.md).
  • Not a secret store. Size caps only; resolve does not erase cut text.
  • Outside git, log goes under home unless PAPERCUTS_FILE is set.
  • Log path must be a normal file (not a directory, FIFO, or device).

More: residual risks.

License

MIT.