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

@kyuc/pi-cat-loader

v0.5.0

Published

Animated cat loading indicator for pi.

Readme

pi-cat-loader

npm version

Animated rolling cat loader for pi. Replaces pi's inline spinner with cat animation and adds /cat-loader command controls.

https://github.com/user-attachments/assets/c1bd0e65-c1c3-42d9-b8d6-38fea42289ae

Compatibility

This extension requires a terminal with inline image support. Known terminals that work include:

  • Ghostty
  • Kitty
  • WezTerm
  • iTerm2

This extension does not work inside tmux. When tmux is detected, the cat loader is automatically disabled and pi falls back to its regular spinner.

Installation

pi install npm:@kyuc/pi-cat-loader

Commands

/cat-loader on                    Enable cat loader
/cat-loader off                   Disable cat loader
/cat-loader preview               Show cat loader for 5 seconds
/cat-loader clear                 Clear terminal images
/cat-loader size <value>          Set each cat's width (small, medium, large, or 1-20)
/cat-loader speed <value>         Set frame rate (slow, normal, fast, or 1-60 FPS)
/cat-loader color <colors...>     Set 1–5 ordered colors (classic, black, gray/grey, white, peach, random)
/cat-loader confetti <on|off>     Toggle confetti when 3+ random cats match
/cat-loader help                  Show help

Multiple cats

/cat-loader color white black grey
/cat-loader color black black white gray peach
/cat-loader color classic
/cat-loader color white random random

Choose 1–5 cats in left-to-right order; repeated colors are allowed. One color returns to a single cat. Cats animate in sync at the same speed, with one-cell gaps. Size applies to each cat. When the terminal is too narrow, trailing cats are hidden until space is available—cats never shrink or wrap.

Each random slot independently picks from the five colors with equal odds at the start of each loading run or preview. Picks stay fixed across animation frames, redraws, and resizing. Duplicates and repeated picks between runs are allowed. Settings retain random, not the picked colors.

When every slot is random and 3 or more visible cats land on the same color, confetti pops over the cats once at the start of the run (kitty only). Turn it off with /cat-loader confetti off.

Configuration

Settings are saved under pi's catLoader config key. You can change these through /cat-loader commands, or edit pi settings directly:

{
  "catLoader": {
    "enabled": true,
    "sizeCells": 4,
    "framesPerSecond": 20,
    "colors": ["white", "black", "gray"],
    "confetti": true
  }
}

sizeCells must be 1-20 per cat. framesPerSecond must be 1-60. colors must contain 1–5 entries: classic, black, gray, white, peach, or random. grey is accepted and saved as gray. Default: one classic cat. Invalid lineups fall back to this default. confetti defaults to true.

Legacy "color": "black" settings load as "colors": ["black"]. Within one settings file, colors takes precedence over color. Project settings override global settings, including legacy colors. Commands save the new colors format globally.