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

haronix-wc

v3.2.2

Published

<div align="center">

Readme

⚡ Haronix UI Suite

The Declarative Generative UI Ecosystem

Framework-agnostic. AI-Native. Zero Dependencies. Light DOM.

npm version bundle size license

Documentation & Live Demos →


🚀 The GenUI Vision

Haronix is built for the era of Generative AI. While traditional libraries focus on manual coding, Haronix provides a standardized presentation layer that AI agents can reliably control, stream, and update in real-time.

🧠 Why AI-First?

  • Schema-Driven: AI models (Claude/GPT/Gemini) can easily generate valid Haronix JSON Schema (HJS).
  • Smart Streaming: Native support for incremental UI updates (Smart Sync) as AI tokens arrive.
  • No Glue Code: Send JSON from your backend, and <ha-renderer> handles the rest.
  • Light DOM: Full CSS inheritance means AI-generated UI always matches your brand's look and feel.

💎 Key Components

🏗️ <ha-renderer> — The Streaming Engine

The centerpiece of Haronix. It transforms JSON into live, interactive UI.

<!-- Connect to an AI stream via SSE -->
<ha-renderer id="ai-chat"></ha-renderer>

<script>
  const renderer = document.getElementById('ai-chat');
  const eventSource = new EventSource('/api/ai/generate');

  eventSource.onmessage = (e) => {
    // appendChunk handles both new nodes and incremental updates!
    renderer.appendChunk(JSON.parse(e.data));
  };
</script>

🧩 HJS Schema (v1)

A simple, portable format for defining UI:

{
  "id": "main-card",
  "component": "ha-card",
  "props": { "title": "AI Insight", "variant": "elevated" },
  "children": [
    { "component": "p", "children": "Hello from the future!" }
  ]
}

📦 Component Library

| Component | Purpose | Status | |---|---|---| | <ha-renderer> | Streaming JSON-to-UI engine | ✅ Stable | | <ha-card> | Adaptive content container | ✅ Stable | | <ha-icon> | Lazy-loading SVG icon system | ✅ Stable | | <ha-spinner> | GPU-accelerated loading states | ✅ Stable | | <ha-avatar> | Smart initials & status indicators | ✅ Stable | | <ha-tooltip> | Viewport-aware accessible hints | ✅ Stable | | <ha-badge> | Semantic status indicators | ✅ Stable | | <ha-stat-card> | Data visualization primitive | 🔨 Phase 2 |


🛠️ Installation

npm install haronix-wc
# or
yarn add haronix-wc

Quick Start (CDN)

<script type="module">
  import 'https://cdn.jsdelivr.net/npm/haronix-wc/dist/index.es.js';
  import 'https://cdn.jsdelivr.net/npm/haronix-wc/dist/lucide.es.js';
</script>

<ha-card title="Haronix Ready" subtitle="GenUI is here">
  <ha-icon name="rocket" color="var(--ha-color-primary)"></ha-icon>
  Hello World
</ha-card>

🎨 Design System & Theming

Haronix uses a robust CSS token system. Wrap your app in <ha-theme-provider> or set tokens on :root:

:root {
  --ha-color-primary: #6366f1;
  --ha-radius-lg: 1rem;
  --ha-font-family: 'Inter', sans-serif;
}

📊 Comparison

| Feature | Traditional Libraries | Haronix UI Suite | |---|---|---| | AI Compatibility | Hard (requires glue code) | Native (HJS Schema) | | Streaming | Complex (manual VDOM sync) | Built-in (appendChunk) | | JS Footprint | Dozens of KBs | Minimal core logic | | Styling | Scoped / CSS-in-JS | Global CSS / Variables | | Dependencies | Often heavy | Zero dependencies |


🗺️ Roadmap

  • [x] Phase 1: Core primitives & Token system
  • [/] Phase 2: GenUI Streaming & Data Primitives
  • [ ] Phase 3: Advanced AI Layouts & Animation Orchestration

📄 License

MIT © 2026 An Le