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

@cwdpk/cocommit

v2.0.4

Published

AI-powered git commit message generator CLI tool (CoCommit)

Readme

CoCommit

AI-powered CLI tool for generating conventional commit messages and branch names based on your code changes.

Demo Video

Features

  • 🤖 AI-Powered Commit Messages: Generate meaningful commit messages using OpenAI, Anthropic, or Google models.
  • 🌿 AI-Powered Branch Names: Generate conventional branch names based on your staged changes.
  • 📝 Conventional Commit Format: Follows the conventional commit standard.
  • 🔍 Smart File Analysis: Analyzes staged files and their diffs for context-aware messages and branch names.
  • Quick Commands: Simple CLI commands and aliases for fast workflow: analyze, generate, and commit or branch within a single command.
  • 🎨 Beautiful Output: Colorful, user-friendly CLI interface.
  • 🔧 Easy Configuration: Interactive setup for AI provider and API key.

Installation

Global (Recommended)

npm install -g @cwdpk/cocommit

Local Development

git clone <repository-url>
cd cocommit
npm install
npm run build
npm link

Usage

1. Configure your AI provider

cocommit config

Follow the prompts to select your provider and enter your API key. This will be saved to ~/.cocommit-config.json.

2. Generate a commit message

Stage your changes, then run:

cocommit commit

Or use the alias:

cocommit c

You can also provide your own message:

cocommit commit -m "your message"

3. Generate a branch name (NEW)

Stage your changes, then run:

cocommit branch new

Or use the alias:

cocommit b n

You can also provide your own branch name:

cocommit branch new -n "your-branch-name"

The tool will suggest an AI-generated branch name based on your staged changes, and prompt for confirmation or a custom name before creating and checking out the new branch.

4. View status with AI insights

cocommit status

Supported Providers

  • OpenAI (GPT-4o, GPT-4o-mini, GPT-3.5 Turbo)
  • Anthropic (Claude 3.5 Sonnet, Haiku, Opus)
  • Google (Gemini 1.5 Pro, Flash)

Configuration File

  • Location: ~/.cocommit-config.json
  • Stores: provider, model, and API key

Requirements

  • Node.js v16 or higher
  • An API key from your chosen AI provider

License

MIT

Author

Deepak Suthar