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

sig-chiya

v1.0.5

Published

AI-powered Git commit message generator using Claude API

Readme

Commiti 🤖

AI-powered Git commit message generator using Claude API with Conventional Commits format.

Features

  • 🧠 AI-powered: Uses Claude API to analyze staged changes and generate meaningful commit messages
  • 📝 Conventional Commits: Follows the Conventional Commits specification
  • 🎯 Multiple candidates: Generates multiple commit message options to choose from
  • ✏️ Editable: Edit generated messages before committing
  • ⚙️ Configurable: Customizable via .commitirc.json file
  • 🚫 File exclusion: Exclude specific files/patterns from analysis
  • 🌐 Multilingual: Support for Japanese and English

Installation

npm install

Setup

  1. Create a configuration file:
npm run dev -- --config
  1. Edit .commitirc.json and set your Claude API key:
{
  "apiKey": "your-claude-api-key-here"
}

Or set the environment variable:

export CLAUDE_API_KEY="your-claude-api-key-here"

Usage

  1. Stage your changes:
git add .
  1. Generate and commit:
npm run dev

Development Commands

# Run in development mode
npm run dev

# Build the project
npm run build

# Create config file
npm run dev -- --config

# Show help
npm run dev -- --help

Configuration

The .commitirc.json file allows you to customize:

{
  "apiKey": "your-claude-api-key",
  "model": "claude-3-haiku-20240307",
  "conventionalCommits": {
    "types": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
    "scopes": ["api", "ui", "db", "auth"],
    "maxLength": 50
  },
  "exclude": [
    "*.log",
    "node_modules/**",
    "dist/**",
    "build/**",
    "*.lock"
  ],
  "language": "ja",
  "generateCount": 3
}

Example Workflow

# Make some changes
echo "console.log('Hello, World!');" > hello.js

# Stage the changes
git add hello.js

# Run commiti
npm run dev

Output:

🤖 Commiti - Analyzing staged changes...

📋 Staged changes:
1 file changed, 1 insertion(+), 0 deletions(-)

  ✅ hello.js (+1/-0)

ℹ️  Generating commit message candidates...

🤖 Generated commit message candidates:

  1. feat: add hello world example script
  2. chore: create initial hello.js file
  3. feat(example): implement basic hello world output

✨ Select a commit message: 1

📝 Edit the commit message (press Enter to keep as is):
feat: add hello world example script

📄 Final commit message:
"feat: add hello world example script"

✅ Commit with this message? (y/N): y

🎉 Changes committed successfully!

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

License

MIT