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

page-mascot

v0.1.0

Published

A character for the top of your page that follows the reader's cursor and blinks when they poke it.

Readme

page-mascot

A character for the top of your page. It follows the reader's cursor and blinks when they poke it. Fifty-two are already drawn. An agent skill draws new ones, or one that looks like you.

Install

npm i page-mascot

Use one that is drawn

Pick a character on the demo page and download its two sheets into public/mascots, then point the component at them:

import { Mascot } from 'page-mascot'

<Mascot
  directions="/mascots/fox-directions.webp"
  reactions="/mascots/fox-reactions.webp"
/>

The paths are whatever your app serves, so imported images work too.

Or let an agent do it, once the skill below is installed:

/page-mascot put the fox on my page

Draw your own

Install the skill:

npx skills add nilbuild/page-mascot --skill page-mascot --global --yes

Then ask your agent:

/page-mascot a chibi otter with chocolate-brown fur
/page-mascot make one that looks like me        [attach a photo]
/page-mascot a chibi fox, in the riso style

It draws the nine directions and nine expressions, builds them into two aligned sheets, checks the character does not jump between them, and puts the component on your page, with the same two props as above.

Drawing needs an image tool. Codex has one. Claude Code uses the OpenAI images API, so set OPENAI_API_KEY first. With neither, skills/page-mascot/reference/prompts.md has the prompts for making the sheets by hand in any chat UI.

Props

| prop | default | | | --- | --- | --- | | directions | none | path to the directions sheet | | reactions | none | path to the reactions sheet | | size | 140 | px, square | | label | 'mascot' | what a screen reader calls it | | className | | |

Tracking switches off without a fine pointer, and the click squash honours prefers-reduced-motion.

How it works

Each character is two 3×3 sprite sheets: nine head directions, and nine expressions.

the two sheets that make up one character

The pointer's angle picks a cell on the directions sheet, with a dead zone so the head settles when the cursor is close. A click shows a cell from the reactions sheet for half a second. One background-position and no animation library.

The same character can be drawn in six styles: colour, ink, sketch, riso, paper and pixel. Only the rendering changes, so the alignment holds.

the same fox drawn in six styles

License

MIT © Kamran Ahmed