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

@heuresys/ui

v1.2.0

Published

Heuresys UI — design system + dashboard components (Tier 1-16)

Readme

@heuresys/ui

Design system condiviso — componenti React, theme token, preset Tailwind, Storybook. Pubblicato su npm: pnpm add @heuresys/ui (oggi 0.1.9).

Consumer attuali

Il pacchetto è consumato come dipendenza npm normale, non più via protocollo link: né via workspace di un monorepo (quel modello apparteneva a heuresys-evo, dove questo codice viveva come packages/ui accanto a services/marketing|app|playground; quei service non esistono più come consumer).

| Consumer | Repo | Cosa usa | |---|---|---| | apps/web | Spen-Zosky/heuresys-advanced | admin SPA + portale ESS: primitive, DataTable, DashboardShell, form, ./charts | | apps/showcase | Spen-Zosky/heuresys-advanced | sito vetrina statico (GitHub Pages): brand, landing, icone |

Regola vincolante lato consumer: nessun componente riusabile nasce in heuresys-advanced. Se serve una primitiva, nasce qui e arriva da npm; in apps/web restano solo le composizioni tenant/RBAC-specifiche.

Scope

  • Componenti UI riusabili tra i consumer sopra
  • Wrapper sulle primitive Radix UI + variant system (class-variance-authority)
  • Theme token (colori, spacing, typography) e preset Tailwind 4
  • Icone (re-export lucide-react)
  • Storybook come unica vetrina dei componenti

Stack

  • TypeScript + React 19 — React è peer dependency (react, react-dom, @types/react, @types/react-dom): il consumer porta la sua istanza. Dichiararlo come dependency produceva due React nel grafo e il crash createContext is not a function in SSR.
  • Radix UI + Tailwind 4 + class-variance-authority + clsx
  • Build tsupdist/ (ESM + CJS + d.ts)
  • Storybook (npm run storybook)

Subpath exports

. (barrel) · ./charts (d3/echarts/recharts) · ./markdown · ./styles · ./brand/candidates · ./assets/brand/*

I subpath non sono cosmetici: importare @heuresys/ui/charts invece del barrel tiene fuori dal bundle del consumer l'intero albero di data-viz quando non serve.

Convenzioni

  • Componenti stateless quando possibile; lo stato vive nei consumer
  • Ogni componente ha una .stories.tsx in Storybook
  • API stabile: breaking change → bump major + ADR in governance/
  • Nessun import dai repo consumer (dipendenza inversa vietata)

Rilascio

L'ordine conta: npm run buildnpm versionnpm publishgit push origin main. Un publish senza push lascia npm avanti rispetto a GitHub e rende la release non ispezionabile (è successo con 0.1.8 e 0.1.9, recuperate nel S1030). Procedura completa: ../SETUP.md.