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

@wyattjoh/rfc-pi

v0.4.1

Published

Native Pi extension and lookup skill for evidence-grounded IETF RFC research.

Readme

@wyattjoh/rfc-pi

Native Pi integration for the RFC Evidence Engine. The package registers the rfc_research, rfc_verify_citation, and rfc_source_text tools, adds the RFC lookup workflow to the system prompt, and includes the /rfc-lookup skill.

Tool results reach the model as compact JSON: per question, found, and ranked hits with RFC, title, role, relevance, verdict, and passages (section, verdict, exact quote, and UTF-8 bytes range). The complete version-three result, including diagnostics and provenance, stays in the tool result details.

Install

Requires Bun 1.4.2 or newer:

pi install npm:@wyattjoh/rfc-pi

Authenticate the latest published CLI once before using semantic tools:

bunx @wyattjoh/rfc@latest auth login
bunx @wyattjoh/rfc@latest auth

Each tool call runs the CLI through bunx, pinned to the exact @wyattjoh/rfc version this package depends on rather than a dist-tag, so a call never re-resolves against the registry and never runs a CLI this package was not tested against. Credentials remain in the OS credential manager and are never exposed to Pi or accepted through tool input.

Full RFC source text

Use rfc_source_text only when the full RFC text is explicitly required or requested; prefer the research and citation tools for ordinary questions. With just rfc, it returns the source hash, total UTF-8 byte length, and parsed headings with half-open byte ranges, not the text. Give both startOffset and endOffset to retrieve that exact, untruncated slice (citation ranges use the same offsets). Pass expectedSourceHash on later reads so a revalidated source change fails rather than mixing snapshots.

Local cache and credential tools

rfc_source_cache_status, rfc_source_cache_remove, and rfc_auth_status are not registered by default, because research never needs them and every registered tool is resent to the model on each request. Set RFC_PI_LOCAL_TOOLS=1 before starting Pi to register them:

export RFC_PI_LOCAL_TOOLS=1

Running a local CLI

Set RFC_CLI_COMMAND to exercise a working-tree CLI without publishing it. Accepts a JSON array for a command with arguments, or a bare executable path:

export RFC_CLI_COMMAND='["bun","/path/to/rfc/packages/rfc/src/bin.ts"]'

Unset, the pinned published package is used. The variable chooses an executable, so treat it the way you treat PATH.

Review the package before installation: Pi extensions execute with the user's full system permissions.