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

@dixiewebcoethan/ai-code-review

v1.0.0

Published

AI-powered code review CLI

Readme

AI Code Review CLI

AI-powered code review that runs in your terminal in seconds. Catches bugs, security issues, performance problems, and style issues — powered by Claude.

$ review src/

  AI Code Review  4 files  

src/auth.js
  One sentence assessment.

  HIGH  🔒  Unsanitized input passed to SQL query · line 42
       The 'email' variable is interpolated directly into the query...
       → Use a parameterized query: db.query('SELECT * FROM users WHERE email = ?', [email])

  MED   🐛  Missing null check before accessing user.profile · line 87
       ...

4 files · 3 issues   2 high  1 medium  0 low

⚠  Fix 2 high-severity issues before shipping.

Setup (for buyers)

1. Install

npm install -g ai-code-review

2. Set your Anthropic API key

export ANTHROPIC_API_KEY=sk-ant-...

Add this to your ~/.zshrc or ~/.bashrc to make it permanent.

Get a free API key at console.anthropic.com. Reviews cost roughly $0.01–0.05 per run depending on codebase size.

3. Activate your license

review activate YOUR-LICENSE-KEY

Your license key is in the purchase confirmation email from Gumroad.


Usage

review .                  # Review all code files in the current directory
review src/               # Review a specific folder
review src/auth.js        # Review a single file
review --diff             # Review only staged git changes

Ignore files

Create a .reviewignore in your project root (same syntax as .gitignore):

tests/
fixtures/
*.generated.js

For Developers (building from source)

git clone ...
cd ai-code-review
npm install

# Fill in your Gumroad product ID in src/config.js

# Dev mode (no license check):
SKIP_LICENSE=1 ANTHROPIC_API_KEY=sk-ant-... node bin/review.js .

FAQ

What models does this use? Claude Sonnet 4 via the Anthropic API.

How much does the API cost? Roughly $0.01–0.05 per review run. You manage your own API key.

Is my code sent anywhere besides Anthropic? No. Files are sent only to the Anthropic API for review.

Does it work on large monorepos? Yes — files are reviewed in batches. It stops at 25 files by default (configurable in src/config.js).