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

@imateapot0418/glitz

v0.1.0

Published

Engaging terminal visualizations for your git repo's commit history

Readme

✨ glitz

Engaging terminal visualizations for your git repo's commit history.

Install

npm install -g glitz

Or run directly with npx:

npx glitz heroes

Usage

glitz <command> [options]

Commands:
  glitz heroes [path]  Show a ranked leaderboard of repo contributors

Options:
  -h, --help     Show help
  -v, --version  Show version number

heroes

Displays a ranked leaderboard of contributors with commit counts, lines added/removed, and colorful bar charts.

# Run in the current directory
glitz heroes

# Point at a specific repo
glitz heroes /path/to/repo

# Show top 5, sorted by lines added
glitz heroes --limit 5 --sort insertions

# Only commits from the last 3 months
glitz heroes --since "3 months ago"

# Include merge commits
glitz heroes --include-merges

# Output raw JSON data
glitz heroes --json

Options:

| Flag | Alias | Description | Default | |------|-------|-------------|---------| | --limit | -l | Number of authors to display | 10 | | --sort | -s | Sort by: commits, insertions, deletions, net | commits | | --since | | Only count commits after date (e.g., "3 months ago") | | | --include-merges | | Include merge commits in statistics | false | | --json | | Output raw intermediate data as JSON | false |

Example output:

✨ Repo Heroes — my-project (main)
────────────────────────────────────────────────────────────
🥇 Alice Chen          █████████████████████████  142 commits  +12,340  -3,201
🥈 Bob Martinez        ████████████████████       98 commits   +8,102   -2,444
🥉 Carol Park          █████████████              61 commits   +4,320   -1,100
 4 Dave Flynn          ██████████                 47 commits   +3,010   -890
 5 Eve Johnson         ████████                   35 commits   +2,100   -560
────────────────────────────────────────────────────────────
   5 contributors | 383 commits | +29,872 | -8,195

Adding New Visualizations

Glitz is designed to be extensible. To add a new visualization:

  1. Create a new file in src/visualizations/ (e.g., timeline.ts)
  2. Export a function matching the Visualization type signature
  3. Register it in src/visualizations/index.ts
  4. Add a yargs subcommand in src/cli.ts

Author Deduplication with .mailmap

Glitz uses git's %aN / %aE format specifiers, which respect your repo's .mailmap file. If the same person has committed under different names or emails, create a .mailmap file in your repo root to unify them:

Alice Chen <[email protected]> <[email protected]>
Alice Chen <[email protected]> <[email protected]>

See git-mailmap docs for details.

Disabling Colors

Glitz respects the NO_COLOR environment variable. To disable colored output:

NO_COLOR=1 glitz heroes

Development

# Install dependencies
npm install

# Run in dev mode (no build step)
npm run dev -- heroes /path/to/repo

# Build
npm run build

# Run tests
npm test

# Link globally for testing
npm link
glitz heroes

Requirements

  • Node.js >= 16
  • Git (must be available in PATH)

License

MIT