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

@liebstoeckel/registry

v0.3.4

Published

The default registry of charts and building blocks for liebstoeckel decks.

Readme

@liebstoeckel/registry

The default registry of charts, hooks, and other building blocks that liebstoeckel add copies into a deck as owned source.

Part of liebstoeckel, a code-first presentation framework. You write decks in MDX and TSX and build them into a single self-contained HTML file with no server or runtime dependencies. The same file works offline, and when you host it the deck runs a live session between the presenter and the audience. Built on Bun, React 19, Motion, and Tailwind v4.

Status: experimental, pre-1.0. liebstoeckel is an evolving experiment, not yet production-ready. Before 1.0, breaking changes can land in any release without a major-version bump, so pin an exact version if you depend on it.

This package is data and a contract, not a runtime dependency of any deck. When you run liebstoeckel add <name>, the item's source files are copied into your deck and you own them from then on, to edit like any other file. Only an item's leaf npm dependencies (for example @visx/scale) are added to the deck's package.json.

liebstoeckel add bar-chart        # copy the chart's source into ./charts and install its deps
liebstoeckel registry list        # browse the catalog
liebstoeckel registry view bar-chart   # one item: exports, props, dataShape, example

See the add and registry commands in the CLI reference for the full surface.

Layout

registry.json          # the index of every item by name/type/version (generated)
items/<name>.json      # per-item manifest: deps, registryDependencies, files (generated)
files/charts/…         # the actual source copied into decks (hand-authored)
src/gen.ts             # generator: derives the manifests + registry.json from files/
src/schema.ts          # the published item contract + validators (validateItem, assertSafeTarget)
src/verify.ts          # bundler-safety gate: an item is safe iff its source actually bundles
src/index.ts           # REGISTRY_ROOT + schema re-export

items/<name>.json and registry.json are generated, never hand-edited. gen.ts derives each item's npm deps (from its @visx/* imports) and its registryDependencies (from relative imports) straight off the source, so a manifest can't drift from the code it ships.

Adding an item

  1. Drop the source under files/charts/. It must be bundler-safe, meaning it actually bundles under a deck's target: "browser" and minify build. src/verify.ts checks this with a real bundle (not a static denylist), and the package tests exercise it.
  2. Add a catalog entry to src/gen.ts, including its hand-authored agent meta (the machine-readable description that agents read before scaffolding).
  3. Run bun run packages/registry/src/gen.ts. It rewrites items/<name>.json and registry.json, deriving deps from the source's imports.

Item versions are pinned through the single VERSION constant in gen.ts, which applies to every item. Bump it when item sources change.

Links

Licensed under MPL-2.0.