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

@solexllc/usx

v0.4.0

Published

Compiled USWDS-based component styles for USX.

Readme

@solexllc/usx

Branded USX component styles (.usx-*) layered on top of USWDS, compiled with Dart Sass. This package ships Sass source only (exports → src/*.scss); consumers compile it with the pkg: importer, so there is no Sass build step. The only build step is regenerating the icon sprite (see Icons below).

Theming

All design tokens come from @solexllc/usx-theme and are runtime-themeable via --usx-* CSS custom properties. Compile src/index.scss for a fully static build (no var() references), or src/themed.scss to enable every hook and pair it with pkg:@solexllc/usx-theme/themes for opt-in prebuilt themes. See packages/usx-theme/README.md for the full theming guide, and the Storybook Documentation → Theme → Playground to generate a theme visually.

Icons

src/img/usx-sprite.svg is a small sprite of custom icons USWDS doesn't ship (currently just spinner, used by @solexllc/usx-react's Spinner). It's also exported as @solexllc/usx/img/usx-sprite.svg for direct resolution. Like USWDS's own dist/img/sprite.svg, consuming apps must copy this file into wherever they serve static assets from (e.g. Storybook mounts it at /img/usx-sprite.svg via staticDirs in .storybook/main.js; a Django app would add it to STATICFILES_DIRS).

The sprite is generated, not hand-written. Each icon lives as its own standalone <svg> file in src/icons/<name>.svg (viewable directly in an editor or browser), and pnpm build (or pnpm --filter @solexllc/usx build) runs scripts/build-sprite.mjs, which reads every file in src/icons/ and writes the combined <symbol> sprite to src/img/usx-sprite.svg. To add an icon: create src/icons/<name>.svg, add a matching { name, meta } entry to src/img/usx-icons.json (used by the Documentation/Icons page's search), then rebuild. pnpm --filter @solexllc/usx dev rebuilds on every save.

Tests

pnpm test   # node test/theme-check.mjs

test/theme-check.mjs compiles both entry points and asserts: the default build has zero var(--usx-*) references; the themed build uses only bare var(--usx-*) references (no fallbacks) that all exist in the theme manifest; every manifest entry is consumed (or explicitly listed as unconsumed); no literal null leaks into CSS; every derivedFrom names a real token.