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

bichito

v0.1.0

Published

Animated pixel-art desktop pet for any web page

Downloads

177

Readme

bichito 🐾

Add an animated pixel-art desktop pet to any web page.

Six named pets, zero dependencies, works via CDN <script> tag or npm ESM import.


Quick start — CDN

<script src="https://cdn.jsdelivr.net/npm/bichito/dist/bichito.global.js"></script>
<script>
  Bichito.bichito({ pet: 'ariel' })
</script>

Quick start — npm

npm install bichito
import { bichito } from 'bichito'

const destroy = bichito({ pet: 'cain', size: 40 })

// Call destroy() to remove the pet

API

bichito(config?: BichitoConfig): () => void

| Option | Type | Default | Description | |---|---|---|---| | pet | PetId | 'ariel' | Which pet to show | | size | number | 30 | Render size in pixels (width = height) | | container | HTMLElement | document.body | DOM element to attach the pet to |

Returns a destroy function — call it to stop the pet and remove its canvas. Useful for SPAs and cleanup.


Pets

| ID | Species | Description | |---|---|---| | ariel | Cat | Black, green eyes | | cain | Cat | Yellow tabby, white right paw, white chest, yellow eyes | | samael | Cat | White, light blue eyes | | thor | French Bulldog | Blue pied | | loki | French Bulldog | Blue pied, white chest | | pizza | French Bulldog | Blue merle pied |


Behaviors

| Behavior | How it triggers | |---|---| | Idle | Random, between walks | | Walk left / right / up / down | Random, every 3–6 seconds | | Peek | Pet walks to the right edge, stops and faces you | | Jump | Click the pet while it peeks (50% chance) | | Heart | Click the pet while it peeks (50% chance) — floating heart bubble |


Visualize with Storybook

npm run storybook

Opens at http://localhost:6006. Each pet has its own story with size control and start/stop toggle.


Development

npm install          # install deps
npm test             # run tests (vitest)
npm run typecheck    # TypeScript strict check
npm run build        # build ESM + CJS + IIFE bundles
npm run storybook    # Storybook dev server

Adding a new pet

  1. Create src/pets/<name>.ts — export a PetDefinition with all 8 AnimationState clips
  2. Add it to src/pets/index.ts — register in PET_REGISTRY
  3. Add <name> to the PetId union in src/types.ts
  4. Create stories/<name>.stories.ts

Each sprite frame is a 30×30 array of CSS hex strings or null (transparent). Use buildFrame() with a palette map to keep the data readable.


License

MIT © el_jijuna