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

clawpatch

v0.7.3

Published

Automated code review that lands fixes.

Readme

clawpatch 🩹 — Review by feature, fix by finding.

clawpatch banner

CI npm Node.js License

Clawpatch maps a repository into semantic feature slices, asks an installed coding agent to review each slice, and stores evidence-backed findings for later repair. It is for maintainers who want review, patching, and revalidation to stay explicit and resumable.

Install

pnpm add -g clawpatch

Or with npm:

npm install -g clawpatch

Clawpatch requires Node.js 22 or newer.

Quick start

Start in a Git repository:

cd /path/to/repository
clawpatch init
clawpatch map
clawpatch status

Initialization creates project-local state under .clawpatch/. The default mapper inspects repository structure without calling a model.

With a supported coding agent installed and authenticated, run the first review:

clawpatch doctor
clawpatch review --limit 3
clawpatch report

Review progress goes to stderr. Findings and run records remain under .clawpatch/, so interrupted work can resume without starting over.

Workflow

| Stage | Command | Result | | ---------- | ------------------------------------- | ------------------------------------------------------------------------ | | Initialize | clawpatch init | Detect the project and write configuration. | | Map | clawpatch map | Create durable semantic feature records. | | Review | clawpatch review | Run bounded, parallel reviews and persist findings. | | Inspect | clawpatch next, show, report | Prioritize and examine evidence. | | Repair | clawpatch fix --finding <id> | Apply one explicit patch attempt and run configured validation. | | Confirm | clawpatch revalidate --finding <id> | Re-check the finding against the current code. | | Publish | clawpatch open-pr --patch <id> | Commit the recorded patch files, push a branch, and open a pull request. |

Use clawpatch ci --since origin/main --output clawpatch-report.md for the source-read-only init, map, review, and report loop in CI. The quickstart walks through the full workflow, and the code-review guide covers selection, concurrency, rate limits, and diff-scoped review.

Feature mapping

Clawpatch detects reviewable boundaries across Node.js and TypeScript, Python, Ruby, PHP, Go, Rust, C and C++, Java and Kotlin, .NET, and Swift projects. Mappers use manifests, framework conventions, routes, packages, targets, tests, and nearby context; generated directories and symlinked directories are skipped.

Mapping is deterministic by default. --source auto and --source agent can add provider-assisted slices when the repository needs deeper interpretation. See Feature Mapping for supported project shapes and known gaps.

Providers

The default provider is the local Codex CLI. Clawpatch also integrates ACP-compatible agents through ACPX and has adapters for Claude Code, Grok Build, OpenCode, Pi, and an experimental Cursor Agent path.

Providers are installed coding harnesses or agent CLIs; Clawpatch does not call model APIs directly. Authentication, model transport, and agent execution remain with the selected harness. See Providers for setup, model selection, permissions, and isolation details, and VISION.md for the project boundary.

State and configuration

Clawpatch stores configuration, feature records, findings, patch attempts, reports, and run history under .clawpatch/. Commands that support --json keep machine-readable results on stdout and send human progress to stderr.

Configuration can set include and exclude paths, provider defaults, context limits, and validation commands. Start with Configuration, then use the focused guides for findings, patching, reporting, and validation.

Safety

Clawpatch requests read-only provider execution for review and revalidation. fix requires a finding ID, refuses a dirty source worktree by default, records changed files and validation results, and does not commit or push. Creating a commit and pull request requires the separate open-pr command; Clawpatch does not merge changes.

Provider sandboxes and tool restrictions differ. Read Safety before using write-capable providers on untrusted code.

Development

pnpm install
pnpm typecheck
pnpm lint
pnpm format:check
pnpm test
pnpm build
pnpm pack:smoke

Use Node.js 22 or newer and the pnpm version declared in package.json.

License

MIT