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-checker

v2.0.5

Published

AI-powered CLI tool to review code using GPT-3.5

Readme

🤖 AI Code Reviewer

A smart, modern CLI tool that reviews your full-stack code with the power of OpenRouter AI. It supports JavaScript, Python, TypeScript, SQL, HTML/CSS, C/C++, Java, PHP, Ruby, and more. Instantly get suggestions, inline improvements, markdown reports, and styled PDF exports.


🚀 Features

  • Full-stack AI Code Review

  • 🧠 Supports multiple models via OpenRouter (Mistral, GPT, Claude)

  • 📂 Review a single file or an entire folder recursively

  • 📊 Inline, Markdown, and Beautiful PDF Reports

  • 🛠️ --fix mode to apply auto-fixes

  • ✍️ Interactive dev notes mode

  • 🔍 Framework Detection (React, Express, Vue, Flask, etc.)

  • 🎨 PDF styling with:

    • Logo Header
    • 🖍️ Color-coded security issues
    • 📄 Auto-paginated
    • 🧾 Footer watermark

📦 Installation

npm install -g ai-code-checker

Or run directly:

npx ai-code-checker ./src --inline --pdf

🔧 Usage

npx ai-code-checker <file|folder> [--inline] [--summary] [--markdown] [--fix] [--pdf] [--interactive]

🌟 Examples

npx ai-code-checker sample.js --inline
npx ai-code-checker ./src --summary --markdown --pdf
npx ai-code-checker app.js --fix --interactive

🛠 CLI Options

| Flag | Description | | --------------- | ---------------------------------------------------------- | | --inline | Inline suggestions with line numbers | | --summary | Summary output instead of detailed breakdown | | --markdown | Save review report as ai-code-review-report.md | | --pdf | Save review report as a styled ai-code-review-report.pdf | | --fix | Auto-apply patch suggestions returned by AI | | --interactive | Ask for custom comments/tags during review per file |


✨ Output Formats

🖥️ Terminal Output

  • Color-coded, sectioned, clean layout

📄 Markdown Output (--markdown)

  • Saves a clean .md file with headings and scores

📝 PDF Output (--pdf)

  • Header: Logo title
  • Footer: Watermark
  • 🟥 Security issues in red
  • 🟦 Informational notes in black
  • Code rendered in monospaced font

🤖 Powered By

  • OpenRouter.ai
  • Models: mistralai/mistral-7b-instruct, openai/gpt-3.5-turbo, and more.

🛡️ Security

This tool never stores or logs your code. All reviews are sent directly to OpenRouter’s API securely.


📜 License

MIT © Santhoshkumar Karthikeyan


🙌 Contributing

Pull requests welcome! Open issues for bugs, suggestions, or improvements.


🔗 Links


❤️ Built for Developers, by Developers

Feel confident in your code before deploying. Empower your dev team with AI-driven code reviews.


Happy Coding! 🧑‍💻