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

claude-entropy

v2.3.1

Published

Claude Code Wrapped - visualize your AI coding quarter in 20 slides

Readme

Claude Code Stats

Spotify Wrapped for Claude Code. Analyzes your ~/.claude/projects/ session data and generates a visual HTML report with usage stats, token costs, coding patterns, and personalized insights.

Quick Start

npx claude-code-stats

Requires: Node.js 14+ and Python 3.8+ on PATH.

What You Get

A self-contained HTML report with 20+ slides covering:

  • Sessions & hours coded with Claude, daily streaks, peak coding days
  • Lines of code generated across all projects
  • Token usage and estimated cost (input, output, cache)
  • Project breakdown with per-project stats
  • Prompting style analysis: length, specificity, effectiveness
  • Error patterns: taxonomy of 14 error categories
  • Retry loops: wasted tokens from stuck patterns
  • Communication tone: niceness score, swear tracking
  • Self-scoring bias: how accurately Claude rates its own work
  • Tool usage: misuse detection (Bash vs Read, etc.)
  • Coding personality: archetype based on your usage patterns
  • Percentile ranking: how you compare to other Claude Code users

Options

npx claude-code-stats --author "Your Name"         # Display name (default: git user.name)
npx claude-code-stats --tz 1                        # UTC offset (default: auto-detect)
npx claude-code-stats --money 600                   # Subscription cost for ROI slide
npx claude-code-stats --money-detail "3 Max"        # Subscription description
npx claude-code-stats --sanitize                    # Anonymize project names for sharing
npx claude-code-stats --publish                     # Publish to wrapped.buildingopen.org
npx claude-code-stats --help                        # Show all options

Output

Generates ./wrapped.html in your current directory and opens it in your browser.

How It Works

  1. Reads Claude Code session files from ~/.claude/projects/ (JSONL format)
  2. Runs 10 pattern analyzers in parallel (pure Python, no pip dependencies)
  3. Computes aggregated stats, percentiles, and a personality archetype
  4. Generates a single self-contained HTML file with animated slides

All processing happens locally. No data is sent anywhere unless you use --publish.

Requirements

  • Node.js 14+ (for npx)
  • Python 3.8+ (for analysis, uses only stdlib)
  • Claude Code session data in ~/.claude/projects/

Override the data directory with CLAUDE_PROJECTS_DIR env var. Supports multiple directories with : separator (; on Windows):

CLAUDE_PROJECTS_DIR="/path/to/mac-sessions:/path/to/server-sessions" npx claude-code-stats

Privacy

Your session data never leaves your machine. The --sanitize flag strips identifying data: project names, prompt examples, swear quotes, uncensored swear words, and machine names. The --publish flag uploads only the final HTML report (not raw session data) to a public URL, and always auto-sanitizes.

License

MIT