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

@dalexto/lexsys-registry

v0.1.4

Published

Install metadata and templates for the Lexsys registry-first UI framework

Readme

@dalexto/lexsys-registry

Audience: Maintainers, contributors, and agents Type: Package README Source of truth for: Package role, public exports, item structure, template sync Verified against: packages/registry/src/ Last reviewed: 2026-05-30


Package Role

packages/registry is the install source of truth for the Lexsys CLI.

This package owns:

  • registry item metadata (what gets installed, where, with which dependencies)
  • installable template files (the actual files copied into consumer projects)
  • registry styles and utility metadata
  • registry validation logic
  • the registry manifest consumed by the CLI

This package does not own:

  • component reference implementations (owned by @dalexto/lexsys-ui)
  • CLI install behavior (owned by packages/cli)
  • design token source or generated CSS (owned by @dalexto/lexsys-tokens)

Public Exports

From the package root (.):

| Export | Type | Purpose | | ----------------------- | ------------------- | ------------------------------------------------ | | registryManifest | RegistryManifest | Full registry: items, styles, utilities, version | | registryItems | RegistryItem[] | All installable component/utility/style items | | registryStyles | RegistryStyle[] | All style descriptors (theme) | | registryUtilities | RegistryUtility[] | All shared utility descriptors (cn) | | registryVersion | string | Package version string | | themeRegistryStyle | RegistryStyle | Theme style metadata | | cnRegistryUtility | RegistryUtility | cn utility metadata | | validateRegistry | function | Validate the full registry manifest | | validateRegistryItem | function | Validate a single registry item | | Individual item exports | RegistryItem | e.g. buttonRegistryItem, badgeRegistryItem |

Types exported: RegistryFile, RegistryItem, RegistryItemCategory, RegistryItemType, RegistryStyle, RegistryStyleFile, RegistryUtility.

Templates are resolved via the ./templates/* export path, not the . entry:

import.meta
  .resolve("@dalexto/lexsys-registry/templates/primitives/Button/Button.tsx")

Registry Item Structure

Each item in src/items/ declares the full install contract (required fields, optional remoteFiles, category values, and what makes an item complete). Full contract: docs/reference/registry/REGISTRY.md.


Templates

Installable templates live under packages/registry/templates/ — component files, shared utilities, and token CSS styles. Component templates are synced from packages/ui/src/components; style templates from @dalexto/lexsys-tokens via generate:styles. Templates MUST NOT be manually edited.

Template sync rules, item reconcile policy, import transforms, and drift validation: docs/reference/registry/REGISTRY.md.


Validation

Two validation functions are exported:

  • validateRegistryItem(item) — validates a single item against the RegistryItem schema
  • validateRegistry(manifest) — validates the full registry manifest

Tests live in packages/registry/test/:

  • validate-registry.test.ts — manifest and template validation
  • registry-styles-sync.test.ts — style template drift compare helpers

Full inventory: docs/operations/TESTING.md.


Development

pnpm registry:build
pnpm registry:check
pnpm registry:sync
pnpm tokens:generate:styles

Full script reference: docs/operations/SCRIPTS.md.