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

ai-code-review-tool

v1.1.3

Published

An AI tool for automated code review against the master branch.

Readme

AI Code Review Tool

This project is an AI-powered code review tool that automatically checks code changes in the current branch against the master branch. It uses Google Gemini or OpenAI models to review your code and outputs whether your changes pass or not.

Table of Contents

Installation

Clone the repository and install dependencies:

git clone <repository-url>
cd ai-code-review-tool
npm install

As an npm package

Install in another project via npm:

npm install ai-code-review-tool

Usage

Local usage

Run the application locally:

node src/index.js

CLI usage (recommended)

If installed as a package, use the CLI command:

npx ai-review-code

Or add to your npm scripts:

"scripts": {
  "ai-review-code": "ai-review-code"
}

Then run:

npm run ai-review-code

This will trigger the code review process, comparing the current branch's changes against the master branch and printing the AI review result.

Environment Variables

Create a .env file in your project root and add your API keys:

GOOGLE_API_KEY=your_google_genai_key
OPENAI_API_KEY=your_openai_key

At least one key is required. The tool will use Gemini by default if GOOGLE_API_KEY is set.

Example Workflow

  1. Make changes in your code.
  2. Commit your changes.
  3. Run the review command as shown above.
  4. The tool will output whether the changes "✅ Passed" or "❌ Not Passed" with a short reason.

Contributing

Contributions are welcome! Please submit a pull request or open an issue for suggestions or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.