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

bateye

v0.1.10

Published

AI code review CLI for pull requests and repository audits with your choice of LLM

Readme

BatEye

BatEye is a CLI for AI code review on pull requests and whole repositories.

You point it at a repo, choose a model, and it sends a squad of specialist reviewers after the code. Think less "one giant prompt" and more "a few suspicious teammates who never get tired."

BatEye is useful when you want to:

  • audit a repo before a release
  • review a diff locally before opening a PR
  • run AI review in GitHub Actions
  • use your own supported provider instead of a SaaS-only tool

Install

npm install -g bateye

Node.js 18+ required.

60-second setup

cd your-project
bateye init

# Pick a model and key
bateye conf --model openai/gpt-5.4-nano --apikey <your-key>

# Run a full repo audit
bateye audit

# Review your current diff
bateye pr-review

Prefer environment variables?

  • BATEYE_LLM_MODEL_API_KEY=<your-key> works for direct provider models such as openai/gpt-5.4-nano.
  • AI_GATEWAY_API_KEY=<your-key> or VERCEL_OIDC_TOKEN=<token> are required for Vercel-routed models such as vercel/openai/gpt-5.4-nano.

BatEye writes results to .bateye/out/. Use .bateye/config.local.json for local-only overrides you do not want to commit, including optional apiKey and githubToken fields.

Two jobs, one bat

bateye audit

Full-repo scan across security, code quality, tests, docs, complexity, input validation, and more.

bateye audit
bateye audit --reviewers security-api
bateye audit --output ./report.json

bateye pr-review

Diff-focused review for the changes you are actually about to merge.

pr-review now runs in two stages:

  • one deep Codebite planner run ([email protected], deep mode, maxSteps=150) that investigates the full change context and prepares reviewer-specific briefings
  • bounded reviewer runs (maxSteps=20, non-deep) that start from those briefings instead of rediscovering the repo from scratch
bateye pr-review
bateye pr-review --base main --head HEAD
bateye pr-review --github --pr-number 42

Custom reviewers

Drop Markdown reviewer prompts into .bateye/reviewers/ to add new reviewers or override built-ins. Because every team has at least one very specific opinion.

Bring your own model

BatEye's structured and Codebite-backed review flows support the full current Codebite provider set through the Vercel AI SDK: OpenAI, Anthropic, Google, Mistral, Vercel AI Gateway, Groq, xAI, Cohere, DeepSeek, AWS Bedrock, Azure OpenAI, Together AI, Fireworks AI, and LiteLLM.

bateye conf --model openai/gpt-5.4-nano --apikey <key>
bateye conf --model vercel/openai/gpt-5.4-nano --apikey <ai-gateway-key>
bateye conf --model anthropic/claude-sonnet-4-5 --apikey <key>
bateye conf --model google/gemini-2.5-pro --apikey <key>
bateye conf --model mistral/mistral-large-latest --apikey <key>
bateye conf --model groq/llama-3.3-70b-versatile --apikey <key>
bateye conf --model deepseek/deepseek-chat --apikey <key>

Provider setup details live here: Providers

Documentation

Start here if you want specifics instead of vibes:

| I want to... | Read | |---|---| | Pick a model or provider | Providers | | Configure BatEye | Configuration | | Run PR review in CI | GitHub Actions | | Benchmark planner-backed PR review | Benchmark README | | See built-in reviewers or write my own | Reviewers | | Fix a broken setup | Troubleshooting | | Browse the docs map | Docs index |

Why BatEye?

  • More than one reviewer: findings come from specialized prompts, not a single all-purpose chat.
  • Local or hosted: use the model that fits your budget, privacy, and patience.
  • Repo-aware configuration: tune reviewers, excluded paths, and model choices per repository.
  • CI-friendly: run locally first, then wire it into GitHub Actions.

Local development

npm ci
npm run build
npm run lint
npm test
npm run link:local

Contributing and security

License

AGPL-3.0

If BatEye catches something embarrassing before production, the bat accepts tips in the form of stars.