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

@vedssharma/pi-pet

v1.0.0

Published

A virtual pet for your pi terminal sessions. Pick a pet, feed it tokens, and watch it grow!

Readme

🐾 pi-pet

A virtual pet that lives in your pi terminal! Pick a pet, feed it tokens, and watch it grow over sessions.

Features

  • 6 pet species — Cat 🐱, Dog 🐶, Dragon 🐉, Bunny 🐰, Penguin 🐧, Fox 🦊
  • 6 life stages — Baby → Child → Teen → Adult → Elder → Legendary
  • Token-fed growth — Your pet feeds on tokens consumed during LLM conversations
  • Persistent across sessions — Your pet lives on between pi sessions
  • Terminal widget — See your pet and its mood above the editor
  • Status bar — Quick pet status in the footer

Install

pi install /path/to/pi-pet
# or for a quick test:
pi -e /path/to/pi-pet/extensions/pi-pet.ts

Commands

| Command | Description | |---------|-------------| | /pet | Adopt a new pet (first time) or view stats | | /pet feed | Give your pet 5K bonus tokens as a treat | | /pet stats | View detailed pet statistics | | /pet rename <name> | Rename your pet |

How It Works

Feeding

Your pet automatically eats tokens from every LLM response. Both input and output tokens count. The more you use pi, the more your pet grows!

Leveling

  • Every 50,000 tokens consumed earns your pet one level
  • Level milestones are announced every 5 levels

Life Stages

| Stage | Level Required | |-------|---------------| | 🐣 Baby | 0 | | 🧒 Child | 5 | | 🧑 Teen | 15 | | 🧑‍🦱 Adult | 30 | | 👴 Elder | 60 | | ✨ Legendary | 100 |

Hunger & Mood

  • Pet hunger increases over time since last feeding
  • Full (< 1 hour) → Content (< 4 hours) → Hungry (< 12 hours) → Starving!
  • Happiness decays when your pet goes hungry
  • Each species has unique mood messages

Pet Data

Pet state is saved to ~/.pi/pi-pet/pet.json and persists across all sessions.

ASCII Art

Each pet has unique ASCII art that evolves through all 6 life stages — from tiny babies to legendary creatures adorned with stars and sparkles ✨

  /\_/\       →      ★ /\_____/\ ★
 ( o.o )     →     ✦/  ◆   ◆  \✦
  > ^ <      →    ✧( ==  ▼  == )✧
                   ✦ LEGENDARY CAT ✦

License

MIT