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

shellwrapped

v1.0.0

Published

Your Terminal's Spotify Wrapped

Readme

ShellWrapped 🐚🎁

CI/CD npm version License: MIT

Your Terminal's Spotify Wrapped.

ShellWrapped is a CLI tool that analyzes your shell history (Bash or Zsh) and generates a "Wrapped" style summary of your year in the terminal. Discover your top commands, peak productivity hours, coding personality, and more, all presented in a beautiful, animated terminal UI with background lo-fi beats.

ShellWrapped Demo

Features

  • 📊 Command Stats: See your total command count and most used tools.
  • 🕒 Productivity Analysis: Find out your most active days and times.
  • 🧩 Personality Type: Get assigned a "Developer Persona" based on your command usage (e.g., "The Deployer," "The Tinkerer").
  • 🎵 Vibe Check: Plays background lo-fi music while you view your stats (requires mpv).
  • 🖼️ Shareable: Generates a summary card you can share with friends.
  • 🚀 Fast & Local: Runs entirely on your machine; your history never leaves your computer.

Prerequisites

To enjoy the full experience (including background music), you need mpv installed on your system.

macOS:

brew install mpv

Linux (Ubuntu/Debian):

sudo apt install mpv

Windows: Install via Chocolatey (choco install mpv) or download from the official website.

Note: If mpv is not found, ShellWrapped will run silently.

Installation

Run directly with npx (recommended):

npx shellwrapped

Or install globally via npm or bun:

npm install -g shellwrapped
# or
bun add -g shellwrapped

Usage

Simply run the command in your terminal:

shellwrapped

By default, it analyzes the current year. You can specify a different year:

shellwrapped --year 2024

Options

| Flag | Description | |------|-------------| | --year <YYYY> | Analyze a specific year (default: current year). | | --quiet | Run without background music. | | --config | Open configuration mode (if available). | | --help | Show help message. |

How It Works

ShellWrapped reads your shell history file (~/.bash_history or ~/.zsh_history). It parses the timestamps (if available) and commands to calculate statistics.

Privacy Note: All processing happens locally on your device. No data is sent to any server.

Troubleshooting

  • "No history found": Ensure your shell is configured to save history. For Zsh, EXTENDED_HISTORY is often required for precise timestamps.
  • "Music not playing": Verify mpv is installed and in your PATH. Check by running mpv --version.

Credits

Contributing

Contributions are welcome! See CONTRIBUTING.md for details.

License

MIT © ShellWrapped