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

@bhaskarauthor/pr-triage

v0.1.0-alpha.1

Published

Risk-rank a diff so humans review the 20% that matters — blast radius, removed error handling, missing tests, placeholder/AI artifacts. Read-only, zero dependencies.

Readme

pr-triage

Risk-rank a diff so humans review the 20% that actually matters.

git diff main | npx pr-triage        # rank what you're about to merge
npx pr-triage change.patch           # rank a saved PR patch
npx pr-triage --ref main --top 10    # let it run git diff itself

Read-only. Offline. Zero dependencies.


Why

Developers now spend more time reviewing AI-generated code than writing their own — and "almost right, but not quite" is the top frustration. When a PR is bigger than you can meaningfully read, the question isn't whether to skim, it's what not to skim. pr-triage answers that: every hunk gets a risk score, worst first.

What raises a hunk's score

| Signal | Why it matters | |--------|----------------| | auth / crypto / payment / session paths | highest blast radius per wrong line | | schema & migration files, dependency manifests, config/infra | breaks everyone downstream | | error handling or validation removed | the classic silent regression | | no matching test change for the file | nothing will catch the mistake | | placeholder/TODO/"implement this" left in additions | unfinished AI output | | credential-shaped strings in additions | secrets don't belong in diffs | | dense new branching, regex changes, async/concurrency | where reviewers miss bugs | | very large hunks | review fatigue hides defects |

Documentation-only hunks are damped toward zero — a README can't crash prod.

Output

pr-triage — 4 files · 6 hunks · +212/-38

  REVIEW FIRST  72  src/auth/login.ts:10
        -try {
        auth/crypto/payment path · error handling removed · no test change for this file
  SKIM          10  src/utils/format.ts:88
  LOW            1  README.md:1

--json for machines; --min-score <n> exits 1 when the top hunk scores ≥ n — an attention gate for CI ("this PR needs a real review, not a rubber stamp").

Honest limits

Heuristic, path/content-based — it ranks where to look, it does not judge correctness. A low score is not an approval; pair it with tests and a brain.

Sibling tools (AI dev hygiene suite)

ai-instruct-sync · ai-setup-doctor · mcp-config-sync · agent-skill-scan · agent-spend-guard

License

MIT