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

agntrev

v0.1.0

Published

AI code review CLI and library — review sessions anchored to code regions

Readme

AgentReview (ARV)

Code review CLI for AI-generated code. Anchor review threads to specific lines, track resolution, and let agents fix issues automatically.

Install

npm install -g agentreview

Quick Start

# Start a review session on your feature branch
arv init

# Add review comments anchored to code
arv thread add src/auth.ts 42-58 -m "This auth check skips token expiry" --severity must-fix
arv thread add src/api.ts 10 -m "Consider adding rate limiting"

# Check progress
arv status
arv thread list

# Export for a sandboxed agent, or let an agent read .agentreview/ directly
arv export -o review-bundle.json

# Apply the agent's patch — threads auto-update based on what changed
arv apply agent-fix.diff

Commands

Session

| Command | Description | |---------|-------------| | arv init [--base <branch>] | Start a review session. Auto-detects main or master. | | arv status | Show session info and thread counts by status. | | arv diff [--stat] | Show the diff between base and head branches. | | arv end | End the current review session. |

Threads

| Command | Description | |---------|-------------| | arv thread add <file> <line-range> -m <message> [--severity <level>] | Create a thread anchored to a line or range (e.g. 42 or 42-58). Severity: comment, must-fix. | | arv thread reply <id> -m <message> [--role <role>] [--status <status>] | Reply to a thread. Role: human or agent. | | arv thread list [--status <status>] [--file <path>] | List threads, optionally filtered. | | arv thread show <id> | Show a thread's full conversation and anchor context. | | arv thread resolve <id> | Mark a thread as resolved. | | arv thread reopen <id> | Reopen a resolved thread. |

Agent Integration

| Command | Description | |---------|-------------| | arv export [-o <file>] | Export a JSON bundle for sandboxed agents. Writes to stdout if no file given. | | arv apply <patch> [--dry-run] | Apply a unified diff. Re-anchors threads and updates statuses automatically. |

Agents with filesystem access (like Claude Code) can read .agentreview/session.json and .agentreview/threads.json directly — no export needed.

How It Works

All state lives in .agentreview/ at the repo root (auto-added to .gitignore). When a patch is applied, anchors are relocated using exact text matching first, then fuzzy matching (LCS, 60% similarity threshold). Threads whose anchors can't be found are marked orphaned. Threads whose anchor text changed are marked addressed.

VS Code Extension

The AgentReview VS Code extension provides inline comments, gutter decorations, an activity bar panel, and full command palette integration. The CLI does not need to be installed to use the extension.

License

MIT