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

benchmyrepo

v0.1.0

Published

Benchmark the coding agents you already have on your own repo's merged PRs. Local, one command.

Readme

benchmyrepo

Which coding agent is actually best on your code? Public leaderboards measure someone else's repo. benchmyrepo takes your repo's own merged PRs, gives each one to the agents you already have installed, and grades them with the tests that shipped with the PR.

npx benchmyrepo init        # turn merged PRs into tasks
npx benchmyrepo run         # run every installed agent on them
#  agent          solved  rate  cost    $/solve  median
1  codex          8/12    67%   $5.13   $0.64    2.8m
2  claude:opus    8/12    67%   $6.91   $0.86    3.1m
3  gemini         7/12    58%   $2.16   $0.31    2.2m

Example output. Your numbers come from your repo.

You get a single-file report.html, a leaderboard.svg card to share, and a badge.svg for your README.

Why it's different

  • Local, one command. It runs in your dev environment, where your tests already pass. No accounts, no Docker images, no cloud.
  • Uses the agents you already pay for. It drives claude, codex, gemini and cursor-agent in headless mode on your existing plans. You don't need API keys.
  • Graded by your real tests. There's no LLM judge and no AI-written tests. A task counts only if the PR's tests fail before the fix and pass with the original fix on your machine.
  • No peeking. Each agent works in a throwaway copy of the repo at the pre-PR commit, with no git history, so it can't look up the answer.
  • Your code stays on your machine. It goes only to the agents you choose.

How it works

  1. Mine. It reads merged PRs with gh (or first-parent commits with --source git). It keeps PRs that change both source and test files, don't touch dependency manifests, and have a fix under 400 lines.
  2. Validate. For each candidate, it makes a clean copy at the base commit, adds the PR's tests, and checks that they fail. Then it applies the PR's fix and checks that they pass.
  3. Run. Each agent gets only the PR title, description and linked issues, with pasted diffs removed. It runs in its own copy.
  4. Grade. The PR's test files are restored to their merged versions and run. Pass or fail is all that counts.

Commands

npx benchmyrepo init   [--tasks 20] [--scan 200] [--since 2026-01-01] [--source github|git] [--test-cmd "…{files}"]
npx benchmyrepo tasks
npx benchmyrepo run    [--agents claude,claude:haiku,codex] [--tasks 10] [--concurrency 2] [--timeout 20] [--yolo]
npx benchmyrepo report [runId] [--open]
npx benchmyrepo doctor
  • agent:model picks a model, for example claude:opus or codex:gpt-5.5.
  • --yolo lets agents run shell commands such as your test suite without asking. Without it, Claude runs with edit permissions only, Codex runs in its workspace sandbox, and Gemini auto-approves edits only. Agents run on your machine, so only use --yolo on code you trust.
  • --resume <runId> continues an interrupted run.

Custom agents

Add any CLI to .benchmyrepo/config.json:

{ "agents": { "aider": "aider --yes-always --message-file {prompt_file}" } }

Supported today

| | | |---|---| | Test runners | vitest, jest, mocha, npm test, node --test, pytest, go test, cargo test (or any command via --test-cmd) | | Agents | Claude Code (tested), Codex, Gemini CLI, cursor-agent (adapters written, not yet tested against live CLIs), custom | | Platforms | macOS, Linux; Node 20+ |

Limitations

  • PRs without tests can't become tasks. On many repos, most PRs get skipped (dependency bumps, docs).
  • Public repos may be in a model's training data. Use --since to keep only PRs merged after a model's cutoff.
  • Monorepos with per-package dependencies work if their node_modules are installed. PRs that change dependencies are skipped.
  • Git submodules aren't copied into workspaces.

Develop

npm install
npm test          # unit tests + an end-to-end run on a fixture repo with fake agents

MIT