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

repopact

v0.1.0

Published

Installable RepoPact project operating contract. Run `npx repopact init` to bootstrap AGENTS.md and planning docs.

Readme

RepoPact

RepoPact is a copy-paste project operating contract for AI coding agents and human contributors. It gives any repository a clear structure for planning, documentation, verification, task logs, and closeout discipline without forcing a specific tech stack.

Use it for web apps, APIs, CLIs, libraries, mobile apps, infrastructure repositories, automation projects, internal tools, and client projects.

What This Provides

  • Root AGENTS.md contract for AI coding agents.
  • CLAUDE.md that strictly redirects Claude to read AGENTS.md.
  • MIT license for reuse in personal, open-source, and commercial projects.
  • Documentation structure under docs/.
  • Centralized planning files:
    • docs/plan/specs.md
    • docs/plan/design.md
    • docs/plan/tasks.md
  • Latest-first implementation journal:
    • docs/developers/task-logs.md
  • Root Markdown guardrails that prevent random summary, guide, fix, note, roadmap, changelog, and scratch files from accumulating.

How To Use

The fastest way to add RepoPact to a project is with npx:

npx repopact init

This copies AGENTS.md into your project root and creates the planning and task-log files under docs/.

Alternatively, copy these files into the root of your own project:

docs/
.gitattributes
.gitignore
AGENTS.md
CLAUDE.md
CONTRIBUTING.md
LICENSE
README.md

Then edit these placeholders:

  1. Replace RepoPact references in README.md if this is your actual product repository.
  2. Update the Project Map section in AGENTS.md once your real project structure is known.
  3. Replace the starter content in docs/plan/specs.md and docs/plan/design.md with your project-specific requirements and design.
  4. Keep docs/plan/tasks.md as a flat checkbox list only.
  5. Keep implementation decisions in docs/developers/task-logs.md.

Repository Rules

Root-level Markdown is intentionally restricted to:

  • README.md
  • CONTRIBUTING.md
  • CLAUDE.md
  • AGENTS.md

Do not create root-level CHANGELOG.md, ROADMAP.md, PLAN.md, TODO.md, *_SUMMARY.md, *_GUIDE.md, *_FIXES.md, *_NOTES.md, or similar task debris.

Before the project becomes an operating/released product, use docs/developers/task-logs.md for implementation history. Create customer-facing changelogs only when the owner explicitly wants release notes.

Planning Flow

For non-trivial changes:

  1. Update docs/plan/specs.md.
  2. Update docs/plan/design.md.
  3. Update docs/plan/tasks.md as flat checkboxes.
  4. Implement the smallest safe change.
  5. Run relevant checks.
  6. Update docs/developers/task-logs.md.
  7. Commit when the task is complete, unless told not to.

Verification

Run the checks that make sense for your project and keep them documented in docs/developers/task-logs.md.

License

RepoPact is released under the MIT License. You may copy, modify, and use it in commercial or private projects.

See LICENSE for the full license text.