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

commit-whisper

v1.1.2

Published

Deterministic git history analysis with a grounded, BYOK AI narrative — terminal-native CLI.

Readme

commit-whisper

Quality Gate Status CI Release npm TypeScript License Buy Me a Coffee

🕵️ I know what you did last commit.

Deterministic git history analysis with a grounded, bring-your-own-key AI narrative — a terminal-native CLI.

commit-whisper analyzes a local or remote git repository, computes a catalog of deterministic metrics (no AI), and — when a provider is configured — adds a grounded AI narrative and coaching report. It renders to HTML, Markdown, terminal, and JSON from a single canonical Report JSON.

Status: v1 — all seven epics delivered. See docs/planning-artifacts/ for the PRD, architecture, epics, and UX design.

Requirements

  • Node.js 22 LTS or newer
  • npm (bundled with Node.js)
  • A system git on PATH (retrieval shells out to it)

🚀 Installation

🍺 Homebrew (macOS)

brew trust georgiosnikitas/commit-whisper
brew tap georgiosnikitas/commit-whisper
brew install commit-whisper

The brew trust line is only required when your Homebrew enforces tap trust (HOMEBREW_REQUIRE_TAP_TRUST, available in Homebrew 6+). On a default setup you can skip it and run just the brew tap + brew install steps.

📦 From npm

npm install -g commit-whisper

Or run it once without installing:

npx commit-whisper .

📦 From GitHub Packages

npm install -g @georgiosnikitas/commit-whisper --registry=https://npm.pkg.github.com

Note: GitHub Packages requires authentication even for public packages. Add a personal access token with read:packages scope to your ~/.npmrc:

//npm.pkg.github.com/:_authToken=YOUR_TOKEN

💾 Prebuilt binaries (no Node.js required)

Self-contained executables for macOS, Linux, and Windows are attached to each GitHub Release.

After installing via Homebrew, npm, GitHub Packages, or a prebuilt binary, run it from anywhere:

commit-whisper .

🛠️ From source

git clone https://github.com/georgiosnikitas/commit-whisper.git
cd commit-whisper
npm install
npm run build
node dist/index.js .

Getting started (development)

npm install      # install pinned toolchain + runtime deps
npm run build    # bundle src/ → dist/ (tsup / esbuild)
npm test         # run the test suite (vitest)

npm scripts

| Script | Purpose | | --- | --- | | npm run build | Bundle src/ to dist/ via tsup (ESM, Node 22 target). | | npm run bundle:sea | Bundle src/sea-entry.ts to a single self-contained CJS file in dist-sea/. | | npm run build:sea | Build a Node SEA single-executable binary (see the 7.4 spike findings). | | npm test | Run the test suite once (vitest run). | | npm run test:watch | Run vitest in watch mode. | | npm run typecheck | Type-check with tsc --noEmit (strict, nodenext). | | npm run lint | Lint with ESLint (enforces the architecture patterns). |

Project structure

src/
├── index.ts     # entrypoint (bootstrap → cli)
├── cli/         # CLI shell, menu, arg parsing, exit-code mapping
├── config/      # two-phase resolver, RunConfig, the only reader of process.env
├── retrieve/    # git clone shell-out, retrieval, temp-workspace lifecycle
├── analyze/     # normalized model + deterministic metric functions (Groups A–F)
├── narrate/     # AI client, reachability preflight, grounding check
├── assemble/    # canonical Report JSON assembly + schema
├── render/      # HTML / Markdown / Terminal / JSON renderers
├── license/     # license validation and tier resolution
└── shared/      # errors, ui (stderr), Secret<string>, ports, types

Only cli/ and config/ may touch argv / env / prompts; every stage from retrieve/ onward receives a frozen RunConfig (the hexagonal boundary). These conventions are enforced by ESLint.

License

MIT © Georgios Nikitas. The CLI and its source are MIT-licensed; paid tiers are enforced at runtime via an online license check (BYOK AI keys and git tokens stay on your machine).