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

@ind-ds/core

v0.2.1

Published

Web components for the industrial HMI/SCADA design system — Stencil-built, framework-agnostic.

Readme

@ind-ds/core

Stencil-built web components for industrial HMI/SCADA interfaces. Framework-agnostic — consume directly as custom elements, or use the typed wrappers in @ind-ds/react and @ind-ds/vue.

Atomic decomposition

src/components/
  atoms/         # primitives — LED, gauge, valve symbol, button, badge
  molecules/     # state cards, tag rows, mini trends
  organisms/     # alarm banners, P&ID frames, trend panels
  templates/     # full HMI screen layouts (operator station, mobile rounds)

The boundary rule: an atom never imports another component. A molecule only imports atoms. An organism can import molecules and atoms. A template assembles organisms into a screen.

Adding a new component

  1. Decide the atomic layer (atom/molecule/organism/template).
  2. Create the folder: src/components/<layer>/<name>/.
  3. Add three files:
    • <name>.tsx — the Stencil component (@Component, tag: 'ind-<name>', shadow: true).
    • <name>.css — styles. Consume --ind-* CSS vars from tokens; never hard-code colors. Add a @media (prefers-reduced-motion: reduce) rule for any animation that conveys alarm state.
    • <name>.spec.tsx and/or <name>.e2e.ts for tests (optional but expected before promotion to stable).
  4. Re-export the public types from src/index.ts.
  5. pnpm --filter @ind-ds/core build regenerates components.d.ts and the dist-custom-elements bundle. The framework wrapper packages re-export the new element automatically.

Component conventions

  • Tag prefix ind- (e.g. <ind-led>, <ind-valve>).
  • Shadow DOM on by default. Expose customization points through CSS Shadow Parts (exportparts/::part(...)), not via custom slots when the goal is just styling.
  • Every interactive component must expose a public focus() method and respect prefers-reduced-motion.
  • Process-bearing components (LED, gauge, valve, alarm chip) expose a state prop with the canonical ISA-18.2 / process-state vocabulary defined in @ind-ds/tokens — never invent a parallel vocabulary.
  • Numeric displays must apply font-feature-settings: var(--ind-font-feature-tabular).

Build

pnpm --filter @ind-ds/core build       # production build
pnpm --filter @ind-ds/core dev         # watch + dev server on :3333