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

@mano8/astro-ui-m8

v1.3.1

Published

Canonical shared shadcn UI registry, design-token bridge, generic list-params, and test harness for the M8 astro-*-m8 plugin fleet.

Readme

@mano8/astro-ui-m8

CI/CD codecov Codacy Badge

Canonical shared UI foundation for the M8 astro-*-m8 plugin fleet. It is not a business plugin and not an Astro integration — it registers no routes, injects no integration, and fronts no backend service.

It owns:

  • the canonical shadcn registrydata-table and its parts, state components (loading/empty/error/unauthorized), and the dialog-form / table-page recipes;
  • the design-token bridge (src/lib/tokens.css);
  • generic list-params helpers (src/lib/list-params.ts);
  • the shared test harness (@mano8/astro-ui-m8/testing).

Delivery model — registry-copy first

Shared UI is consumed via shadcn add against ./node_modules/@mano8/astro-ui-m8/registry/r/{name}.json; the files are copied into the consumer app. This package is a build/registry source, not a runtime import of those components. Runtime exports (., ./testing) are minimal by design.

Business plugins list @mano8/astro-ui-m8 in dependencies (not devDependencies) and declare their registryDependencies on its registry items. Prerequisite runtime packages for copied blocks are declared as peerDependencies and documented in registry/README.md.

Frozen Phase 1 contract

Phase 1 Step 2 freezes the shared naming and host import assumptions before any consumer depends on the generated registry output.

Frozen registry item names:

  • data-table
  • data-table-column-header
  • data-table-pagination
  • data-table-view-options
  • data-table-server-toolbar
  • data-table-server-faceted-filter
  • toast-notification
  • state-loading
  • state-empty
  • state-error
  • state-unauthorized
  • dialog-form
  • table-page

Host alias/import contract for copied registry blocks:

  • shadcn primitives resolve from @/components/ui/*
  • utility helpers resolve from @/lib/utils
  • hosts import the canonical token bridge from @mano8/astro-ui-m8/src/lib/tokens.css

These names are frozen. As of 1.0.0 the package follows strict semver: breaking changes to registry item names, copied-file structure, or required host aliases are major-version changes.

Commands

  • npm run buildtscdist/, then build:registry.
  • npm run build:registry — generate registry/r/*.json from registry.json.
  • npm run typechecktsc --noEmit.
  • npm test — Vitest with coverage.
  • npm run test:unit — Vitest without coverage.

Status: stable (1.0.0). Registry blocks, recipes, token bridge, list-params, and the test harness are in place and follow strict semver.