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

@mightbeandrew/devcard

v1.1.0

Published

Generate a beautiful developer trading card from your GitHub profile

Readme

devcard

Generate a beautiful developer trading card from any GitHub profile — one command, zero setup.

npm version CI npm downloads License: MIT

Quick Start

npx @mightbeandrew/devcard YOUR_GITHUB_USERNAME

That's it. No install, no config. A PNG is saved to your current directory.

Example

npx @mightbeandrew/devcard torvalds

Generates devcard-torvalds.png — a full trading card with stats, top repos, and languages.

Features

  • Trading card aesthetic — HP, ATK, DEF, SPD, LVL stats mapped from real GitHub data
  • Rarity system — Common → Uncommon → Rare → Ultra Rare → Secret Rare → Legendary
  • Auto-themed — card color scheme matches your dominant language (JS = Electric, Python = Fire, etc.)
  • Terminal preview — see a rich terminal preview before the PNG saves
  • Zero config — works with any public GitHub profile, no auth required
  • Fast — 4 API calls, 1-hour local cache

Themes

| Theme | Auto-detected for | |-------|------------------| | electric | JavaScript, TypeScript | | fire | Python, Ruby | | water | Go, Kotlin, Swift, Java | | earth | C, C++, Rust, Assembly | | psychic | Haskell, Scala, Clojure, Elixir | | dark | Default / C#, PHP, Shell | | light | Light mode | | holo | Holographic (force with --theme holo) |

Options

npx @mightbeandrew/devcard <username> [options]

Options:
  -o, --output <path>    Output file path (default: devcard-<username>.png)
  -t, --theme <theme>    Force a theme (auto|dark|light|holo|fire|water|electric|psychic|earth)
  --token <token>        GitHub token for higher rate limits (or set GITHUB_TOKEN)
  --no-preview           Skip terminal preview
  --open                 Auto-open the PNG after saving
  --no-cache             Bypass the 1-hour local cache
  --copy                 Copy file path to clipboard
  -v, --version          Show version
  -h, --help             Show help

Stat Mapping

| Card Stat | GitHub Data | Formula | |-----------|------------|---------| | ❤ HP | Total stars | log scale (max 50k) | | ⚔ ATK | Total commits (approx) | log scale (max 100k) | | 🛡 DEF | Followers | log scale (max 100k) | | 📅 SPD | Account age | linear (max 15 years) | | 📦 LVL | Public repos | log scale (max 1000) |

Rarity Tiers

| Tier | Criteria | |------|---------| | COMMON | < 100 followers & < 50 stars | | UNCOMMON | < 1k followers & < 500 stars | | RARE | Default for active developers | | ULTRA RARE ✦ | > 10k followers or > 5k stars | | SECRET RARE ✦✦ | > 100k followers or > 50k stars | | LEGENDARY ✦✦✦ | > 150k followers or > 100k stars |

GitHub Profile README

After generating your card, add it to your profile README:

![My DevCard](https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_USERNAME/main/devcard-YOUR_USERNAME.png)
  1. Run npx devcard YOUR_USERNAME
  2. Commit devcard-YOUR_USERNAME.png to your profile repo
  3. Add the markdown above to your README.md

Rate Limits

Without a token: 60 requests/hour (1 card per run = 4 requests — plenty for normal use).

For higher limits: npx devcard username --token YOUR_TOKEN or set GITHUB_TOKEN env var.

Get a token (no scopes needed for public data): https://github.com/settings/tokens

Share

Post your card with #devcard on Twitter/X or LinkedIn!

License

MIT