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

@mindfiredigital/ignix-lite-cli

v2.4.1

Published

CLI tool for Ignix-Lite project scaffolding, validation, and theming

Readme

Ignix-Lite CLI

The official command-line tool for Ignix-Lite - a zero-JS, CSS-only UI component framework driven entirely by semantic HTML and data-* attributes.

npm version license


What is Ignix-Lite CLI?

ignix-lite is a developer productivity tool that lets you:

  • Scaffold components and project config in seconds
  • Generate UI markup from plain English descriptions
  • Validate your HTML against Ignix-Lite design rules
  • Audit your markup for WCAG 2.2 accessibility issues
  • Theme your project by describing the look you want
  • Preview any HTML/Emmet file as a rendered PNG image
  • Connect your editor (Claude Desktop, Claude Code, Gemini CLI, Cursor) to the Ignix-Lite MCP server

Installation

npm install -g @mindfiredigital/ignix-lite-cli

Or use it without installing via npx:

npx @mindfiredigital/ignix-lite-cli <command>

Quick Start

# 1. Set up a new project
ignix-lite init

# 2. Generate UI from a description
ignix-lite build "a login form with email and password"

# 3. Validate your markup
ignix-lite validate src/index.html

# 4. Check accessibility
ignix-lite check-a11y src/index.html

Commands

ignix-lite init

Initialize Ignix-Lite in your project. Creates an ignix.config.json and injects CSS theme variables into your stylesheet.

ignix-lite init

Interactive prompts:

  • Framework: Vanilla HTML
  • CSS file path (e.g. src/index.css)
  • Primary theme color (hex, e.g. #6366f1)

Output:

✔ Ignix-Lite initialized successfully!

Created ignix.config.json
Updated theme variables in src/index.css

ignix-lite build <prompt>

Generate Ignix-Lite HTML (or Emmet shorthand) from a plain English description. Powered by the intent engine - no AI API key required.

ignix-lite build "a danger button that says Delete"
ignix-lite build "a login form with email and password inputs"
ignix-lite build "a warning alert that says Session will expire soon"

Options:

| Flag | Description | | --------------------- | ----------------------------------------------- | | -o, --output <file> | Write the HTML output to a file | | -e, --emmet-only | Output the Emmet shorthand instead of full HTML |

Examples:

# Print HTML to terminal
ignix-lite build "a primary button that says Save Changes"

# Save to file
ignix-lite build "a user profile card" --output card.html

# Get Emmet shorthand
ignix-lite build "a search bar with a submit button" --emmet-only

Sample output:

<button data-intent="primary">Save Changes</button>

ignix-lite build-validated <prompt>

Generate, validate, and audit the accessibility of an Ignix-Lite UI component in a single command, running an auto-correct loop to fix any violations.

ignix-lite build-validated "a primary button saying Save"

Options:

| Flag | Default | Description | | --------------------------- | ------- | --------------------------------------------------- | | -o, --output <file> | - | Path to write the clean, validated HTML output file | | -p, --preview | false | Generate a visual PNG preview image | | -t, --theme <light\|dark> | light | Emulated theme for rendering the preview | | -w, --width <pixels> | 400 | Viewport width for the preview | | -s, --scale <factor> | 2 | Device scale factor for the preview |


ignix-lite add <component>

Print a ready-to-use HTML template for any Ignix-Lite component.

ignix-lite add button
ignix-lite add accordion
ignix-lite add tooltip

Available components:

| Component | Component | Component | | ----------- | ------------ | ------------ | | accordion | alert | avatar | | badge | breadcrumb | button | | card | checkbox | codeblock | | combobox | dialog | divider | | dropdown | form | grid | | input | meter | navigation | | progress | radio | select | | skeleton | table | tabs | | textarea | toast | tooltip |


ignix-lite validate <file>

Validate an HTML file against Ignix-Lite design rules. Checks for correct usage of data-intent, data-size, slot attributes, and forbidden patterns like class= or color=.

ignix-lite validate src/index.html

Sample output:

🔍 Validation Report
════════════════════════════════════════════════════════════
File: src/index.html

✘ FAIL: Validation failed with 2 violation(s)
Score: 60/100

[Violation 1]
  Line:    12
  Element: <button>
  Problem: Use data-intent instead of class for styling
  Fix:     Replace class="btn-danger" with data-intent="danger"

ignix-lite check-a11y <file>

Audit an HTML file for WCAG 2.2 accessibility issues. Reports errors and warnings with actionable fixes.

ignix-lite check-a11y src/index.html

Sample output:

♿ Accessibility Audit Report
════════════════════════════════════════════════════════════
File:       src/index.html
Standards:  WCAG 2.2 AA
Summary:    Passed 8 rules, Found 1 issue(s)

✘ FAIL: Accessibility check failed. Score: 80/100

[Issue 1] ✘ missing-alt (ERROR)
  Element: <img src="avatar.png">
  Message: Images must have an alt attribute
  Fix:     Add alt="descriptive text" to the <img> element

ignix-lite theme [prompt]

Generate CSS theme variables from a natural language description or a hex color and write them to your stylesheet.

ignix-lite theme "dark mode with blue primary"
ignix-lite theme --primary "#e11d48"
ignix-lite theme "earthy green tones" --style-file src/styles/theme.css

Options:

| Flag | Description | | ------------------------- | ------------------------------------------------------ | | -p, --primary <color> | Explicit primary color (hex or HSL) | | -s, --style-file <path> | Target stylesheet path (overrides ignix.config.json) |

Sample output:

✔ Theme successfully updated in src/index.css
Resolved primary color: #e11d48
Mode: Light

Note: Requires ignix.config.json (created by ignix-lite init) unless --style-file is specified.


ignix-lite list

List all available Ignix-Lite components.

ignix-lite list

ignix-lite info <component>

Show the full manifest, allowed props, and usage guidelines for a specific component.

ignix-lite info button
ignix-lite info tooltip

ignix-lite preview <file>

Render an HTML or Emmet file in a headless browser and save a PNG screenshot. Useful for quick visual checks without opening a browser.

ignix-lite preview src/index.html
ignix-lite preview component.html --output screenshot.png --width 800 --theme dark

Options:

| Flag | Default | Description | | --------------------------- | ------------- | ------------------------ | | -o, --output <file> | preview.png | Output image path | | -w, --width <pixels> | 400 | Viewport width in pixels | | -t, --theme <light\|dark> | system | Emulated color scheme |


ignix-lite mcp setup <client>

Automatically configure the Ignix-Lite MCP server for your AI editor. Zero manual steps - the CLI writes directly to the editor's config file.

ignix-lite mcp setup claude
ignix-lite mcp setup claude-code
ignix-lite mcp setup gemini
ignix-lite mcp setup cursor

All clients are fully auto-configured. After running the command:

| Client | Config File Written | Next Step | | --------------------------- | --------------------------------------------- | ---------------------------------------------- | | claude / claude-desktop | %APPDATA%\Claude\claude_desktop_config.json | Restart Claude Desktop | | claude-code | ~/.claude.json | Open any project with claude | | gemini | ~/.gemini/settings.json | Start a new gemini session | | cursor | ~/.cursor/mcp.json | Reload Cursor (Ctrl+Shift+P → Reload Window) |

No client argument? Running ignix-lite mcp setup without an argument prints a help menu listing all supported clients.


ignix-lite mcp start

Start the Ignix-Lite MCP server directly. Useful for testing or custom integrations.

ignix-lite mcp start

The ignix.config.json File

Created by ignix-lite init. Most commands read this file automatically.

{
  "framework": "vanilla",
  "style": "src/index.css",
  "theme": {
    "primary": "#6366f1"
  }
}

Using with AI Editors (MCP)

Ignix-Lite ships with a full MCP server that exposes all engine tools to AI assistants. Once set up, your AI can generate components, validate markup, audit accessibility, and preview components - all from natural language in the chat.

One command. Zero manual config.

ignix-lite mcp setup claude        # Claude Desktop
ignix-lite mcp setup claude-code   # Claude Code CLI
ignix-lite mcp setup gemini        # Gemini CLI
ignix-lite mcp setup cursor        # Cursor editor

Then just start chatting:

"Build me a login form with a warning alert at the top" "Validate my index.html for Ignix-Lite design rules" "Generate a dark theme with blue primary color"


How ignix-lite build Works

The build command uses a two-layer intent engine (no external API needed):

  1. Intent Table (Layer 1) - A hand-crafted table of ~40 common patterns. Fast, deterministic, high confidence.
  2. Vector Index (Layer 2) - A local semantic index for novel or complex descriptions.

The engine supports multi-component stitching - when your description mentions multiple components (using "and", "with", etc.), it synthesizes them together:

ignix-lite build "an avatar image and a loading skeleton below it"
# → img[src="?" alt="User" data-size=md] + span[role=status aria-busy=true data-shape=rect]

Related Packages

| Package | Description | | ------------------------------------------------- | ------------------------------------------------------------ | | @mindfiredigital/ignix-lite-engine | Core engine: intent resolution, validation, theming, preview | | @mindfiredigital/ignix-lite-mcp | MCP server exposing all engine tools to AI editors |


License

MIT © Mindfire Digital