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

@uiseal/cli

v0.1.6

Published

Design-system governance CLI for JSX/TSX and CSS codebases. Runs as an interactive TUI when invoked without arguments in a TTY; falls through to a standard CLI when arguments are provided or stdin is not a TTY.

Readme

@uiseal/cli

Design-system governance CLI for JSX/TSX and CSS codebases. Runs as an interactive TUI when invoked without arguments in a TTY; falls through to a standard CLI when arguments are provided or stdin is not a TTY.

Installation

npm install -g @uiseal/cli

Quick start

uiseal           # launch interactive TUI
uiseal check     # non-interactive scan, exits 1 on errors

TUI

Run uiseal in a terminal to open the interactive interface.

Home — command menu. Navigate with ↑/↓ and Enter.

Scanning — live spinner, progress bar, and streaming violation log.

Results — violations grouped by file, filterable by category and rule.

Key bindings

| Key | Action | |-----|--------| | / | Navigate violations | | / | Switch category tab (All / Design / A11y / Security / Quality / variant-sprawl) | | Tab | Toggle rule drill-down — filter the current category by a single rule | | n | Toggle New / All (show only violations introduced after the baseline snapshot) | | Enter | Open selected violation in $EDITOR at the exact line | | b / h | Back to previous screen | | q | Quit |

CLI commands

uiseal check [path]

Scan files and report violations. Exits with code 1 on errors, 0 on clean or warnings-only.

uiseal check
uiseal check src/components
uiseal check --staged                  # only staged files (pre-commit use)
uiseal check --config path/to/dir     # config in a specific directory
uiseal check --update-baseline        # rescan and rewrite baseline, exit 0
uiseal check --no-baseline            # ignore baseline, report all violations
uiseal check --verbose                # full output even for large result sets

uiseal init

Scans source files, extracts design tokens, and writes uiseal.config.json.

uiseal init
uiseal init --force    # overwrite existing config

uiseal baseline <subcommand>

Manage the design-debt baseline to freeze existing violations.

uiseal baseline update    # rescan and rewrite the baseline file
uiseal baseline prune     # remove fingerprints for violations that are now fixed
uiseal baseline status    # show baseline path, enabled state, and debt counts
uiseal baseline disable   # set baseline.enabled = false in config

uiseal diff [base]

Compare HEAD against a base branch and print a PR review summary.

uiseal diff
uiseal diff main
uiseal diff --markdown    # output markdown (for PR comments / CI artifacts)

uiseal install-hooks

Wires up husky + lint-staged so uiseal check --staged runs before every commit. All steps are idempotent.

uiseal install-hooks
npm install    # install the added devDependencies

Configuration

uiseal init generates uiseal.config.json at the project root. The loader also accepts .ts and .js.

{
  "tokens": {
    "colors": {
      "--color-primary": "#0055ff",
      "--color-text": "#1a1a1a"
    },
    "spacing": [4, 8, 16, 24, 32],
    "fontSizes": [12, 14, 16, 18, 24],
    "fontFamilies": ["Inter", "system-ui"],
    "radii": [4, 8, 12]
  },
  "rules": {
    "no-hardcoded-color": "error",
    "no-arbitrary-spacing": "warn",
    "no-arbitrary-font-size": "warn",
    "no-unauthorized-font-family": "error",
    "no-arbitrary-radius": "warn",
    "enforce-contrast": "error",
    "no-img-without-alt": "error",
    "no-missing-form-label": "error"
  },
  "wcag": { "level": "AA" },
  "ignore": [],
  "baseline": {
    "enabled": false,
    "path": ".uiseal-baseline.json"
  }
}

Rule severity: "error" | "warn" | "off".

Baseline workflow

Use the baseline to freeze existing debt while blocking new violations from being introduced:

  1. Run uiseal baseline update to snapshot the current state.
  2. Commit .uiseal-baseline.json to the repository.
  3. uiseal check now reports only violations added after the snapshot.
  4. As violations are fixed, run uiseal baseline prune to bank the progress.

The TUI results screen has a New / All toggle (n key) to switch between baseline-filtered and full views.

CI integration

# .github/workflows/uiseal.yml
- run: npx uiseal check

Exits with code 1 on errors, 0 on clean or warnings-only.

Network behaviour

uiseal makes zero network requests for design-rule checking. Setting UISEAL_TOKEN enables license validation (result cached for 24 hours).

License

Elastic License 2.0 — free to use, modify, and self-host; SaaS re-hosting requires a commercial license.