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

@yawnwest/pixel-css

v0.5.0

Published

A framework-agnostic CSS library with a pixel-art aesthetic.

Readme

pixel-css

A framework-agnostic CSS library with a pixel-art aesthetic.

Demo

Find a demo with code examples here.

Installation

npm install @yawnwest/pixel-css

Usage

Import the JS entry point to get CSS and touch support bundled together:

import '@yawnwest/pixel-css'

Or import only the stylesheet if you don't need touch support:

import '@yawnwest/pixel-css/style.css'

Or load it directly via CDN — no build step required:

<link rel="stylesheet" href="https://unpkg.com/@yawnwest/pixel-css/dist/style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yawnwest/pixel-css/dist/style.css" />

This gives you the CSS reset, component styles, and the pixel-art theme tokens.

Features

  • Design tokens — semantic color palette, typography scale, spacing, and transitions via CSS custom properties
  • CSS reset — minimal cross-browser reset with pixelated image rendering
  • Typography — headings, paragraphs, links, and code using Press Start 2P
  • Dark mode — automatic via prefers-color-scheme, or manual via data-theme="dark" / data-theme="light"
  • Buttons — press animation with instant touch feedback on mobile via a small JS module
  • Size-constrained — CSS bundle capped at 25 KB

Dark mode

Dark mode activates automatically based on the user's system preference. You can also control it manually:

<html data-theme="dark">
  …
</html>

<html data-theme="light">
  …
</html>

Development

pnpm install
pnpm dev          # Start demo at http://localhost:5173
pnpm serve        # Start demo accessible on the local network (for mobile testing)
pnpm build        # Build the library
pnpm test         # Run unit tests
pnpm lint         # Lint
pnpm format       # Format
pnpm size         # Check bundle size

License

MIT © yawn west