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

@neelfrostrain/commit-ai

v1.3.2

Published

AI-assisted commit message generator and auto-committer

Readme

Commit-AI 🤖

Professionalize your Git history with AI-generated Conventional Commits.

Version Node.js TypeScript Groq License

Stop writing "fixed stuff" and start writing commits that tell a story.


📖 About Commit-AI

Commit-AI was born out of a common developer frustration: the "Lazy Commit" syndrome. We've all written messages like fixed bug, update index.ts, or the dreaded ...........

This tool transforms raw, technical code changes into human-readable, professional documentation. By leveraging the Llama 3.1 8B model via Groq's ultra-fast inference engine, Commit-AI acts as a bridge between your terminal and your project's history.

🧠 The Logic

The tool doesn't just look at filenames; it reads the Git Diff. It understands:

  • Intent: Are you adding a feature or fixing a regression?
  • Impact: What specific logic changed within the functions?
  • Context: It filters out noise like package-lock.json or node_modules to focus on your actual contributions.

🏗️ Built With

  • Bun: High-performance runtime and bundler.
  • Groq SDK: Lightning-fast AI inference.
  • Commander.js: CLI interface and flag management.
  • Simple-Git: Local Git interaction layer.
  • Chalk: Beautiful, colored terminal logs.

⚡ Quick Start

1️⃣ Installation

Install the tool globally using npm:

npm i @neelfrostrain/commit-ai -g

2️⃣ Get your API Key

  1. Visit Groq Cloud Console.
  2. Create a new API Key and copy it.

3️⃣ Configure Environment (Windows)

To use Commit-AI, you must set your GROQ_API_KEY as an environment variable. Choose your preferred terminal below:

Option A: Command Prompt (CMD)

Run this command (replace your_key_here with your actual key):

setx GROQ_API_KEY "your_key_here"

Option B: PowerShell

Run this command:

[System.Environment]::SetEnvironmentVariable('GROQ_API_KEY', 'your_key_here', 'User')

⚠️ Important: You must restart your terminal (CMD, PowerShell, or VS Code) after running these commands for the changes to take effect.


✨ Features

| Feature | Description | | ------------------------- | ---------------------------------------------------------------- | | 🧠 Deep Diff Analysis | Understands code logic, not just file metadata. | | 📝 Conventional Style | Strictly follows the type: description standard. | | 📊 Technical Reports | Generates a detailed bulleted summary for the commit body. | | 🛡️ Smart Filtering | Respects .gitignore and ignores heavy lockfiles automatically. | | 🚀 Sub-second Speed | Powered by Groq for nearly instant commit generation. |


📖 Usage

Command Flags

| Flag | Short | Description | | ----------- | ----- | ------------------------------------------------------- | | --commit | -c | Performs the git commit after generating the message. | | --yes | -y | Skips the confirmation prompt (Auto-pilot). | | --version | -v | Displays the current version. | | --help | -h | Displays the help menu. |

Example Workflow

  1. Stage your changes:
git add .
  1. Run Commit-AI:
commit-ai -c
  1. Review & Confirm: The AI will show you a report and the suggested message. Type y to finalize!

⚙️ Standards & Security

Conventional Commit Types

Commit-AI automatically categorizes your work into:

  • feat: New features
  • fix: Bug fixes
  • docs: Documentation updates
  • style: Formatting/Linting
  • refactor: Code restructuring
  • chore: Build tasks/dependencies

🛡️ Privacy

  • Local Keys: Your API key stays on your machine and is never shared.
  • Diffs Only: Only the git diff of your staged files is sent to the AI for processing. No other system data is accessed.

📄 License

MIT © Neel Frostrain