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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@phantasm0009/commit-buddy

v1.0.0

Published

A CLI tool that helps developers write standardized, expressive commit messages following the Conventional Commits specification

Readme

🤖 @phantasm0009/commit-buddy

A CLI tool that helps developers write standardized, expressive commit messages following the Conventional Commits specification.

Publish to npm Test and Build npm version License: MIT

✨ Features

  • 📚 Interactive prompts for commit message creation
  • 🎨 Emoji support for visual commit types
  • 🔧 Configurable via .commit-buddy.json
  • 📦 Conventional Commits compliant
  • 🚀 Non-interactive mode for automation
  • 🛠️ Git integration ready
  • 📋 Easy-to-use CLI interface

🚀 Installation

Global Installation

npm install -g @phantasm0009/commit-buddy

Use without installation

npx @phantasm0009/commit-buddy

🎯 Usage

Interactive Mode

commit-buddy

This will prompt you through an interactive flow:

? Select commit type: (Use arrow keys)
  feat     ✨  A new feature
  fix      🐛  A bug fix
  docs     📝  Documentation changes
  style    🎨  Code style updates
  refactor ♻️  Refactoring
  test     ✅  Tests
  chore    🔧  Misc tasks

? Scope (optional): auth
? Short message: add login error handling
? Longer description (optional): Improved error display for invalid login attempts.
? Is this a breaking change? No

Non-Interactive Mode

commit-buddy -t feat -s auth -m "add login logic" -d "Implements JWT and error flow"

Command Line Options

  • -t, --type <type>: Commit type (feat, fix, docs, etc.)
  • -s, --scope <scope>: Commit scope (optional)
  • -m, --message <message>: Commit message
  • -d, --description <description>: Longer description (optional)
  • -b, --breaking: Mark as breaking change
  • --dry-run: Show what would be committed without actually committing

For more detailed usage instructions, see USAGE.md.

  • --dry-run: Show the commit command without executing it
  • --config <path>: Use custom config file

⚙️ Configuration

Create a .commit-buddy.json file in your project root or home directory:

{
  "types": {
    "feat": "✨",
    "fix": "🐛",
    "docs": "📝",
    "style": "🎨",
    "refactor": "♻️",
    "test": "✅",
    "chore": "🔧",
    "perf": "⚡",
    "ci": "👷",
    "build": "📦",
    "revert": "⏪"
  },
  "scopes": ["auth", "ui", "api", "core"],
  "allowEmptyScope": true,
  "maxMessageLength": 72
}

🎨 Commit Types

| Type | Emoji | Description | |------|-------|-------------| | feat | ✨ | A new feature | | fix | 🐛 | A bug fix | | docs | 📝 | Documentation changes | | style | 🎨 | Code style updates | | refactor | ♻️ | Code refactoring | | test | ✅ | Tests | | chore | 🔧 | Maintenance tasks | | perf | ⚡ | Performance improvements | | ci | 👷 | CI/CD changes | | build | 📦 | Build system changes | | revert | ⏪ | Revert changes |

📋 Examples

# Interactive mode
commit-buddy

# Quick commit
commit-buddy -t feat -m "add user authentication"

# With scope and description
commit-buddy -t fix -s auth -m "resolve login timeout" -d "Fixed session timeout issue that occurred after 5 minutes of inactivity"

# Breaking change
commit-buddy -t feat -s api -m "update user endpoint" -b

# Dry run (see what would be committed)
commit-buddy -t docs -m "update README" --dry-run

🛠️ Development

# Clone the repository
git clone https://github.com/Phantasm0009/commit-buddy.git
cd commit-buddy

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Test the CLI
npm start

📝 License

MIT © Phantasm0009

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📞 Support

If you have any questions or need help, please open an issue.