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

gatecrash-ui

v0.1.0

Published

Design tokens, the gate verdict screen, and the venue map renderer. Shared by the scanner, the attendee wallet and the dashboard.

Readme

gatecrash-ui

The verdict screen and the venue map from gatecrash, as React components.

pnpm add gatecrash-ui gatecrash-client react

Two components and a sound. They are here as a package rather than buried in an app because if you build your own scanner or your own attendee wallet, these are the parts worth not rewriting — and the parts where the details took the longest to get right.

VerdictScreen

A full-viewport colour flood with one enormous glyph, a synthesised tone and a distinct vibration pattern.

<VerdictScreen result={result} onDismiss={clear} gateName="North Gate" />

The design is not a style choice. A guard at a gate at 22:00 is watching a queue, not a phone held at arm's length, so text is unreadable in exactly the situation that matters. Colour, one glyph, a two-note rise or a low buzz, and a haptic pattern you can tell apart through a jacket pocket — text is the fourth channel, not the first.

The screen clears itself, and that matters more than it sounds: a verdict left up is a verdict the next person's scan gets confused with, which at a busy gate is a real error. Admits clear fast because the queue is moving; refusals hold longer because somebody is about to be told why.

The tones are synthesised with WebAudio rather than fetched, because at the moment they are needed there may be no network.

VenueMap

// An attendee: their seat, their route, and only the doors they can use.
<VenueMap plan={plan} seat={seat} route={route} openCheckpoints={next} focusSection="block-a" />

// The control room: every door named, and occupancy shaded onto the zones.
<VenueMap plan={plan} showSeats={false} labelEveryGate occupancy={occupancy} />

Zones, seated sections with rows laid out along a curve, amenities, the walk route, and live occupancy. Same component both times — the props are what differ, because an attendee and an operator are asking different questions of the same map.

Two details that came from getting it wrong first: a focused seat map always includes the stage, because somebody holding it cannot otherwise tell which way round they will be sitting; and area labels are staggered by nesting depth, because a pit sits flush against the front of the arena that contains it and both labels landed on the same line.

Styling

Three stylesheets, imported separately so you can take the components without the theme:

import 'gatecrash-ui/tokens.css' // colours, spacing, the glyph size
import 'gatecrash-ui/verdict.css'
import 'gatecrash-ui/map.css'

Everything is driven by CSS custom properties on :root, so overriding a colour is one line rather than a fork.

MIT.