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

gitwiser

v1.0.0

Published

Git repository health check — detect duplicate authors, find stale flags, analyze bloat, visualize history

Readme

gitwiser

Git repository health check.

One CLI to analyze any repo:

  • 👥 Authors — detect duplicates, generate .mailmap
  • 🚩 Flags — find stale feature flags
  • 🐷 Bloat — locate large files in history
  • 🔐 Security — secret detection, CI integration
  • 📊 Visualize — web UI for exploration

Installation

npm install -g gitwiser

Quick Start

# Full health check
gitwiser

# Specific checks
gitwiser authors      # Duplicate detection
gitwiser flags        # Stale feature flags
gitwiser bloat        # Large files

# CI mode
gitwiser ci --fail-on-secrets

Commands

gitwiser / gitwiser analyze

Run full repository analysis.

gitwiser                          # All checks
gitwiser --include authors,flags  # Specific modules
gitwiser --output json            # JSON output

gitwiser authors

Detect duplicate Git identities and generate .mailmap files.

gitwiser authors                  # Text summary
gitwiser authors --output mailmap # Generate .mailmap
gitwiser authors --apply          # Write .mailmap file
gitwiser authors --threshold 80   # Higher match threshold

gitwiser flags

Find stale feature flags (hardcoded to true/false).

gitwiser flags                 # Text summary
gitwiser flags --stale-only    # Only stale flags
gitwiser flags --diff          # Generate cleanup patches
gitwiser flags --output json   # JSON for CI

Detects patterns from:

  • LaunchDarkly, Split.io, Unleash, Flipper
  • Environment variables (FEATURE_*)
  • Generic patterns (isFeatureEnabled(), etc.)

gitwiser bloat

Find large files bloating your repository.

gitwiser bloat                    # Top 20 largest
gitwiser bloat --limit 50         # More files
gitwiser bloat --include-deleted  # Include deleted files
gitwiser bloat --min-size 5242880 # 5MB minimum

gitwiser visualize

Launch web UI for interactive visualization.

gitwiser visualize             # Open in browser
gitwiser viz --port 8080       # Custom port

gitwiser ci

CI/CD mode with JSON output and exit codes.

gitwiser ci                         # Run all checks
gitwiser ci --fail-on-secrets       # Exit 1 if secrets found
gitwiser ci --fail-on-stale-flags   # Exit 1 if stale flags
gitwiser ci --fail-on-bloat 10      # Exit 1 if files > 10MB
gitwiser ci --fail-on-duplicates    # Exit 1 if duplicate authors

Example Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Author Analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

▸ Summary
Total identities: 653
Duplicate clusters: 71
Unique contributors: 551
Consolidation rate: 15.6%

▸ Duplicate Clusters

  Peter Steinberger <[email protected]> (7211 commits)
  └─ similar-name
     → Peter Steinberger <[email protected]> (3 commits)

Alias

Short alias gw is also available:

gw authors
gw bloat
gw ci

License

MIT