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

@oddessentials/odd-ai-reviewers

v1.7.0

Published

AI-powered code review CLI - run locally or in CI/CD pipelines

Readme

@oddessentials/odd-ai-reviewers

AI-powered code review CLI that runs locally or in CI/CD pipelines. Get instant feedback on your code changes using LLMs like GPT-4 and Claude.

Quick Start

# Run local review on current changes
npx @oddessentials/odd-ai-reviewers .

# Or install globally
npm install -g @oddessentials/odd-ai-reviewers
ai-review .

Features

  • Local Review Mode: Get instant AI feedback before pushing
  • CI/CD Integration: GitHub Actions and Azure DevOps support
  • Zero Configuration: Works out of the box with sensible defaults
  • Multiple AI Providers: OpenAI, Anthropic, Azure OpenAI, Ollama
  • Cost Control: Built-in budget limits and cost estimation
  • Customizable: Configure passes, agents, and output formats

Prerequisites

  • Node.js >= 22.0.0
  • Git
  • API key for your preferred AI provider

Environment Variables

Set one of these API keys:

# OpenAI
export OPENAI_API_KEY=sk-...

# Anthropic
export ANTHROPIC_API_KEY=sk-ant-...

# Azure OpenAI
export AZURE_OPENAI_API_KEY=...
export AZURE_OPENAI_ENDPOINT=https://...
export AZURE_OPENAI_DEPLOYMENT=...

# Ollama (local)
export OLLAMA_BASE_URL=http://localhost:11434

Usage

Local Review (Recommended for Development)

# Review uncommitted changes
ai-review .

# Review only staged changes (for pre-commit hooks)
ai-review . --staged

# Review changes between current branch and main
ai-review . --base main

# Dry run - see what would be reviewed
ai-review . --dry-run

# Cost estimate only
ai-review . --cost-only

# JSON output for tooling integration
ai-review . --format json

# SARIF output for IDE integration
ai-review . --format sarif

CI Review Mode

# Review a specific commit range
ai-review review --repo . --base $BASE_SHA --head $HEAD_SHA

# With PR number for GitHub integration
ai-review review --repo . --base $BASE_SHA --head $HEAD_SHA --pr 123

Configuration

# Generate a new configuration file
ai-review config init

# Validate existing configuration
ai-review validate --repo .

Configuration File

Create .ai-review.yml in your repository root:

# AI Provider configuration
provider: openai

# Model selection
models:
  default: gpt-4o-mini

# Review passes
passes:
  - name: ai-review
    enabled: true
    agents:
      - opencode

# Resource limits
limits:
  max_files: 50
  max_diff_lines: 5000
  max_usd_per_pr: 0.50

# Gating (fail CI on findings)
gating:
  enabled: true
  fail_on_severity: error

CLI Reference

ai-review local [path]

Run AI review on local changes.

| Option | Description | | ----------------- | --------------------------------------------- | | --base <ref> | Base reference for comparison (auto-detected) | | --head <ref> | Head reference (default: HEAD) | | --range <range> | Git range (e.g., HEAD~3..) | | --staged | Review only staged changes | | --uncommitted | Include uncommitted changes (default: true) | | --pass <name> | Run specific pass only | | --agent <id> | Run specific agent only | | --format <fmt> | Output format: pretty, json, sarif | | --no-color | Disable colored output | | --quiet | Minimal output (errors only) | | --verbose | Show debug information | | --dry-run | Preview without running agents | | --cost-only | Estimate cost without running | | -c, --config | Path to config file |

Exit Codes

| Code | Meaning | | ---- | ---------------------------------------------- | | 0 | Success (no blocking findings) | | 1 | Failure (blocking findings or execution error) | | 2 | Invalid arguments or configuration |

Pre-commit Hook Integration

Add to .pre-commit-config.yaml:

repos:
  - repo: local
    hooks:
      - id: ai-review
        name: AI Code Review
        entry: npx @oddessentials/odd-ai-reviewers . --staged --quiet
        language: system
        pass_filenames: false

Or use with Husky:

# .husky/pre-commit
npx @oddessentials/odd-ai-reviewers . --staged --quiet || exit 1

Changelog

This package uses semantic-release for automated versioning and changelog generation. The changelog is auto-generated from conventional commit messages.

See CHANGELOG.md for the full release history.

License

MIT