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

@snaylaker/git-wrapped

v0.4.0

Published

Generate beautiful team stats for any git repository

Readme

git-wrapped

npm version License: MIT Node.js Version

Generate beautiful GitHub Wrapped stats for your team's git repository. Celebrate your team's achievements with a stunning cyberpunk visualization.

Features

  • Team Stats - Comprehensive team performance metrics with beautiful visualizations
  • Activity Insights - Discover your team's most productive months and days
  • Pull Request Analytics - Track team-wide PR statistics (if gh CLI is available)
  • Privacy-Focused - All data stays local, nothing is sent to external servers

Installation

npx git-wrapped /path/to/your/repo

Or install globally:

npm install -g git-wrapped
git-wrapped /path/to/your/repo

Usage

Basic Usage

# Analyze last 12 months (default)
npx git-wrapped /path/to/repo

# Opens browser automatically to http://localhost:3000

Custom Date Range

# Analyze a specific year
npx git-wrapped /path/to/repo --start 2024-01-01 --end 2024-12-31

# Analyze last 6 months
npx git-wrapped /path/to/repo --start 2024-06-01

Custom Port

# Use a different port
npx git-wrapped /path/to/repo --port 8080
npx git-wrapped /path/to/repo -p 8080

All Options

npx git-wrapped <repo-path> [options]

Options:
  --start, -s    Start date (YYYY-MM-DD). Default: 12 months ago
  --end, -e      End date (YYYY-MM-DD). Default: today
  --port, -p     Server port. Default: 3000
  --help, -h     Show help

What Gets Analyzed

Team Stats

  • Total commits across all team members
  • Lines added and removed by the team
  • Busiest months and days
  • Activity patterns by day of week
  • Pull request statistics (if gh CLI is available)
  • Net code change metrics

Requirements

  • Node.js 18.0.0 or higher
  • Git (for analyzing repositories)
  • Optional: GitHub CLI (gh) for PR statistics

How It Works

  1. Runs git commands to collect repository statistics
  2. Calculates team-wide metrics
  3. Starts a local web server
  4. Opens your browser to a beautiful visualization

All data stays local - nothing is sent to external servers.

Screenshots

The visualization features a cyberpunk neon theme with:

  • Animated grid backgrounds
  • Glowing neon colors
  • Interactive cards and transitions
  • Responsive design for all screen sizes

Development

# Clone the repo
git clone <repo-url>
cd git-wrapped

# Install dependencies
npm install

# Build everything
npm run build:all

# Test locally
node bin/git-wrapped.js /path/to/any/git/repo

Project Structure

git-wrapped/
├── bin/                  # CLI entry point
├── src/                  # Backend TypeScript
│   ├── cli.ts           # CLI argument parser
│   ├── server.ts        # HTTP server
│   ├── index.ts         # Main entry
│   ├── types.ts         # Type definitions
│   ├── collectors/      # Data collection modules
│   └── utils/           # Utilities
├── ui/                   # Frontend
│   ├── src/             # TypeScript source
│   ├── *.html           # HTML pages
│   └── styles.css       # Cyberpunk theme
├── build-ui.js          # UI build script
└── package.json

License

MIT