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

req-2-plan

v0.2.2

Published

Requirement-to-PLAN workflow CLI and agent integration installer.

Readme

req-2-plan

req-2-plan installs and manages the local r2p workflow integration for supported agent platforms.

The npm package exposes one lifecycle command:

r2p

Use it to install platform templates, audit installed files, remove integrations, and print the installed workflow version.

Requirements

  • Node.js 18+
  • Python 3 available as python3 or python

The lifecycle commands (r2p install, r2p uninstall, r2p installed, r2p doctor, r2p version) use only the Python standard library.

The daily workflow shortcuts installed by r2p install use the Python dependency in requirements.txt:

python3 -m pip install --user -r requirements.txt

If you installed from npm and do not have this repository checkout, install the dependency directly:

python3 -m pip install --user "pyyaml>=6.0"

Install

npm install -g req-2-plan

Check the lifecycle CLI:

r2p version
r2p installed
r2p doctor

Install An Agent Integration

Supported platforms:

  • claude
  • codex
  • gemini

Install one platform:

r2p install --platform claude

Install another platform:

r2p install --platform codex
r2p install --platform gemini

Install multiple platforms at once:

r2p install --platform claude,codex,gemini

If a platform was already installed, reinstall with explicit confirmation:

r2p install --platform claude --confirm

What Install Writes

r2p install writes platform-specific templates into the target agent home directory and shared command wrappers under:

~/.req-to-plan/bin/

It also writes a manifest:

~/.req-to-plan/install/<platform>.yaml

The manifest records every managed path so uninstall can remove only files created by r2p and restore backups for files that existed before install.

Daily Workflow Shortcuts

After install, platform templates call the shared wrappers:

r2p-start "Add rate limiting"
# or start from a requirement document (reads the file contents, not the path):
r2p-start --file ./requirement.md
r2p-continue
r2p-tier-lock --work-id WF-YYYYMMDD-slug --base light --confirm
r2p-status
r2p-switch --work-id WF-YYYYMMDD-slug
r2p-reopen --from WF-YYYYMMDD-slug --stage spec --reason "Fix upstream gap"

The wrappers are installed into ~/.req-to-plan/bin/. Add that directory to PATH if you want to run the shortcuts directly from your shell:

export PATH="$HOME/.req-to-plan/bin:$PATH"

Audit And Uninstall

List installed platforms:

r2p installed

Check for missing files or version drift:

r2p doctor

Uninstall a platform:

r2p uninstall --platform claude

Uninstall multiple platforms:

r2p uninstall --platform claude,codex,gemini

Shared wrappers in ~/.req-to-plan/bin/ are removed only when no installed platform still needs them.

Documentation