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

@commitguard/cli

v0.0.17

Published

AI-powered git commit checker that blocks bad code before it ships

Downloads

69

Readme

CommitGuard

Protect your codebase with every commit. CommitGuard automatically analyzes your code for security vulnerabilities, performance issues, and code quality problems before they enter your repository. Grab your free API key at https://commitguard.ai.

Installation

Get CommitGuard running in under 60 seconds. It works seamlessly with any git repository and integrates automatically with VSCode and other git clients.

Quick Start

1. Install CommitGuard globally

npm install -g @commitguard/cli

2. Navigate to your project

cd your-project

3. Initialize CommitGuard

commitguard init

4. Commit as usual

CommitGuard now runs automatically on every commit. It works with all git integrations including VSCode, terminal, and other git clients.

git commit -m "Add new feature"
[CommitGuard] Analyzing commit...
✓ Commit passed all checks

Usage

Bypassing Checks

To bypass CommitGuard checks for a specific commit, add --skip to your commit message:

git commit -m "Add new feature --skip"

The --skip flag is automatically removed from the final commit message. When using git in your terminal, you'll be prompted to confirm if you want to bypass checks.

Configuring Checks

View or update CommitGuard preferences for your repository:

commitguard config

On the Pro plan, you can add custom rules through the config comand.

CLI Commands

commitguard init

Install CommitGuard in your current repository.

$ commitguard init
✓ CommitGuard installed successfully

commitguard remove

Remove CommitGuard from the current repository.

$ commitguard remove
✓ CommitGuard removed

commitguard config

View or update CommitGuard preferences for the current repository. Pro plan users can add custom rules.

$ commitguard config
Select enabled checks for this project:
Security, Performance, Code Quality, Architecture

commitguard keys

Manage your global API key for CommitGuard.

$ commitguard keys
Current API key: sk-ant-***************

What Happens After Installation?

  • Every commit is analyzed before it's created.
  • No config files are added to your project
  • Bypass checks anytime with --skip in your commit message
  • Works seamlessly with all git clients and IDEs

Troubleshooting

Try reinstalling the hooks:

commitguard remove
commitguard init

Verify that the hooks are installed:

ls -la .git/hooks/

You should see a pre-commit hook file.

Add --skip to your commit message:

git commit -m "Emergency fix --skip"

The --skip flag is automatically removed from the final message.

Remove the hooks and uninstall the package:

commitguard remove
npm uninstall -g @commitguard/cli

Features

  • Security Analysis - Detect vulnerabilities before they reach your repo
  • Performance Checks - Identify performance bottlenecks early
  • Code Quality - Maintain consistent code standards
  • Architecture Review - Ensure architectural patterns are followed
  • Zero Configuration - Works out of the box
  • Universal Compatibility - Works with any git workflow -- Custom Rules - Add your own custom checks to the code reviews

Support

For issues, feature requests, or questions related to this package please open an issue or email us at [email protected]

License

MIT