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

@arseno25/comet

v1.7.0

Published

AI commit message assistant with secure diff redaction and modern terminal UX.

Readme

☄Comet (Commit assistant, catchy)

Install

npm install -g @arseno25/comet

Run without permanent install:

npx @arseno25/comet init
npx @arseno25/comet

Requirements

  • Node.js 22 or newer
  • Git installed and available
  • An API key for your chosen provider

Quick Start

# 1. Set up config
comet init

# 2. Stage changes
git add .

# 3. Generate commit
comet

comet init now walks through provider setup, output preferences, push behavior, and default panel visibility for:

  • Safe Send
  • Analysis
  • Quality
  • Warnings

Commands

Main Command

comet

Generate a commit message from staged changes, show preview, and commit if approved.

Preview

comet preview
comet preview --json

Generate commit message without running git commit.

Analyze

comet analyze
comet analyze --json

Analyze staged changes without committing.

Review

comet review
comet review --json

Show staged diff risks and highlights.

Squash

comet squash main
comet squash main HEAD --json

Generate a squash-ready commit message for a commit range.

Config

comet config set provider openai-compatible
comet config set model gpt-4o-mini
comet config set apiKey your_api_key
comet config get
comet config unset apiKey
comet config path

Doctor

comet doctor
comet doctor --json

Show environment diagnostics.

Init

comet init

Create or update the global Comet config with interactive prompts for provider, model, API key, language, output defaults, push behavior, and panel visibility.

Hook

comet hook install
comet hook status
comet hook uninstall

Manage prepare-commit-msg hook.

Changelog

comet changelog
comet changelog --from v1.0.0 --version 2.0.0
comet changelog --json

Generate formatted changelog from commit history.

Release Notes

comet release-notes v1.0.0
comet release-notes v1.0.0 --version 2.0.0
comet release-notes v1.0.0 --json

Generate release notes with contributor stats.

Runtime Flags

Output

comet --emoji
comet --description
comet --one-line
comet --omit-scope
comet --why

Provider

comet --provider openai-compatible
comet --model gpt-4o-mini
comet --base-url https://api.example.com
comet --lang en

Privacy

comet --privacy-mode standard

Options: standard, strict, local-only

Workflow

comet --preview
comet --json
comet --yes
comet --push
comet --no-push

Force Output

comet --type fix
comet --scope auth

Config

Config is resolved in order:

CLI flags > environment variables > project config > global config > default

Global Config

~/.comet/config.env

Project Override

Comet looks for:

.comet.env
.cometrc
.cometrc.json

Important Config Keys

# Provider
COMET_PROVIDER=openai
COMET_MODEL=gpt-4o-mini
COMET_BASE_URL=
COMET_API_KEY=

# Output
COMET_LANGUAGE=en
COMET_DESCRIPTION=true
COMET_EMOJI=false
COMET_ONE_LINE=false
COMET_OMIT_SCOPE=false
COMET_WHY=false

# Git
COMET_AUTO_COMMIT=false
COMET_GIT_PUSH=false
COMET_STAGE_ALL=false

# Security
COMET_REDACT_SECRETS=true
COMET_PRIVACY_MODE=standard
COMET_EXCLUDE_FILES=

# Panel Visibility
COMET_SHOW_SAFE_SEND=false
COMET_SHOW_ANALYSIS=false
COMET_SHOW_QUALITY=false
COMET_SHOW_WARNINGS=false
COMET_VERBOSE=false

Panel Visibility

These values control which extra panels appear in the commit preview:

  • COMET_SHOW_SAFE_SEND: show included files, skipped files, and redaction summary
  • COMET_SHOW_ANALYSIS: show inferred type, scope, confidence, rationale, and issue key
  • COMET_SHOW_QUALITY: show quality score, suggestions, and warnings for the generated commit
  • COMET_SHOW_WARNINGS: show runtime warnings such as fallback generation or token truncation

You can set them during comet init or later with comet config set.

Output Format

Standard

feat(auth): add role-based login validation

With Body

feat(auth): add role-based login validation

- validate user roles during login
- protect dashboard routes with session guard

One Line

feat(auth): add role-based login validation

With Emoji

✨ feat(auth): add role-based login validation

Workflows

Standard

git add .
comet

Preview Only

git add .
comet --preview

JSON Output

git add .
comet preview --json
comet analyze --json
comet doctor --json

Force Type/Scope

git add .
comet --type fix --scope auth

Auto Push

comet config set gitPush true
git add .
comet

Library API

import { analyzeStagedChanges, generateCommitBundle } from "@arseno25/comet";

const analysis = await analyzeStagedChanges();
const bundle = await generateCommitBundle();

Troubleshooting

No staged changes

git add .
comet

Or enable:

comet config set stageAll true

Missing API key

comet config get apiKey
comet doctor
comet config set apiKey your_api_key

Check active config

comet doctor
comet config path

License

MIT. See LICENSE.