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

buddybrawl

v1.0.5

Published

Claude Code companion battle game — install the sync hook with npx buddybrawl init

Readme

BuddyBrawl

Your code has a companion. Gear it up. Fight.

BuddyBrawl demo

You already have a Claude Code companion. It's waiting.

Install

npx buddybrawl init

60 seconds. Hooks into Claude Code. Syncs your buddy automatically on every session end.

How it works

01 — Code with Claude
Install the hook. Every Claude Code session feeds your buddy: tool calls → STR, session length → VIT, files changed → AGI, error rate → LCK.

02 — Earn Gear
Win battles → earn grzkies → craft legendary weapons, armor, and accessories. Dev-flavored loot with rarities from common to mythic. 35+ item bases, 16 affixes, 10 unique legendaries.

03 — Climb the Ranks
ELO-ranked, AI-narrated battles. Micro-leagues of 8 players. Weekly resets with promotion and demotion.

Gear

⚔️  Segfault Blade      [Mythic]    — +42 STR, 15% lifesteal
🛡️  Heisenbug Ward      [Legendary] — +28 VIT, 20% dodge on special
🪖  Null Pointer Helm   [Rare]      — +18 INT, reflects 10% magic
💍  Callback Signet     [Epic]      — +12 AGI, first strike bonus
👢  Stack Overflow Treads [Legendary] — +22 AGI, on-hit slow
📿  Off-by-One Amulet   [Rare]      — +15 LCK, +8 INT

Battle example

Round 2 — Dragon [Epic] uses ATTACK
Rabbit [Rare] attempts to dodge... fails.
Dragon lands 47 damage. Rabbit is at 53 HP.

"The Dragon's Segfault Blade tears through the Rabbit's defenses.
 One more round like this and it's over."

[Clutch Victory — you were 12 HP from losing]

Engagement mechanics

  • Streaks with freeze tokens — daily return pressure, no hard resets
  • Near-miss feedback — "you were 12 HP from winning" after every loss
  • Loot anticipation — chest-open animation, name revealed before rarity
  • Micro-leagues — 8 players, weekly reset, you always know the 2 people above you
  • Pity timer — guaranteed rare drop after N dry battles

Links

  • Demo: https://buddybrawl.vercel.app/demo
  • Play: https://buddybrawl.vercel.app
  • Leaderboard: https://buddybrawl.vercel.app/leaderboard
  • npm: https://www.npmjs.com/package/buddybrawl

Built for Claude Code users. Companions provided by Anthropic.

Privacy

The sync hook runs at the end of each Claude Code session and sends the following to buddybrawl.vercel.app:

| Data | Purpose | |---|---| | git user.email and user.name | Stable identity across sessions | | Anthropic companion name, species, userID | Buddy identity and rarity derivation | | Session duration, tool call count, message count | Stat growth | | File paths modified (not contents) | Stat growth |

No source code is transmitted. The hook is open source — cli/buddy-sync.mjs is the exact file installed on your machine.

License

MIT