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

@ui8kit/registry

v2.0.0

Published

UI8Kit component registry digest (JSON under /r) for ui8kit CLI + CDN

Readme

@ui8kit/registry

Published component registry digest for ui8kit CLI (>=2.0.1).

Source primitives come from ui8kit/codegen generated/ (bricks + utils). This repo packs them into JSON under /r for CDN / npm.

Consumers only need the published r/ tree (npm/CDN). They do not need to clone codegen.

CDN URLs (after npm publish)

https://unpkg.com/@ui8kit/[email protected]/r/index.json
https://cdn.jsdelivr.net/npm/@ui8kit/[email protected]/r/components/ui/button.json
https://unpkg.com/@ui8kit/[email protected]/schema/registry-item.json

CLI defaults already prefer @ui8kit/registry@latest/r.

Consumer install

npx [email protected] init --yes --framework react --dir src \
  --registry-url https://unpkg.com/@ui8kit/[email protected]/r \
  --strict-cdn

npx [email protected] add button --runtime react \
  --registry-url https://unpkg.com/@ui8kit/[email protected]/r \
  --strict-cdn

button declares registryDependencies (e.g. utils, slot) — CLI installs those first.

Each brick JSON embeds all runtime files. With ui8kit@>=2.0.1, --runtime / config.runtime installs only that stack’s files plus shared (*.shared.ts, *.variants.json).

Layout

r/                      # publishable digest (CDN root) — commit / publish this
  index.json
  components/ui/*.json  # registry:ui bricks (all runtimes per brick)
  utils/utils.json      # registry:utils (cn, expr, variants, …)
schema/                 # JSON Schema for items / registry / config
src/                    # staged kit (gitignored) — input to ui8kit build
.cache/codegen/         # gitignored — GitHub clone used by pack script
scripts/
  pack-from-codegen.mjs
  write-schema.mjs
  stamp-index.mjs
  verify-registry.mjs

Rebuild from codegen

pack-from-codegen resolves the generated tree in this order:

  1. --codegen <path> — explicit local generated/
  2. Sibling ../@ui8kit-codegen/generated (local monorepo convenience)
  3. GitHub clone of ui8kit/codegen into .cache/codegen/ (default)

Digest defaults to this package’s version (2.0.0).

# Fresh clone of this registry only — pulls codegen from GitHub
npm run pack:codegen:github

# Pin a tag / commit
node scripts/pack-from-codegen.mjs --force-github --ref main --digest 2.0.0

# Local codegen override
node scripts/pack-from-codegen.mjs --codegen ../@ui8kit-codegen/generated

Requires git on PATH for the GitHub path. The chosen ref must include committed generated/ui + generated/utils.

Full digest build uses published CLI:

npm run build
# = pack:codegen → npx [email protected] build → schema → stamp → verify

Publish

npm run build
npm publish --access public

Then consumers pin @2.0.0 (or @latest) via --registry-version / registryVersion in ui8kit.config.json.

Local smoke CDN

npx serve . -l 4173
# registry base: http://127.0.0.1:4173/r

License

MIT