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

@unisane/ui-cli

v0.1.1

Published

Standalone open-code React component registry CLI

Readme

@unisane/ui-cli

The open-code Unisane UI registry CLI.

This package owns the primary Unisane UI adoption experience. It bundles generated, dependency-closed component source and publishes the unisane-ui executable. It does not depend on an unscoped CLI host or any Unisane runtime package.

Installation

pnpm dlx @unisane/ui-cli@latest init --theme blue

For repeated use, install it as a development tool and run pnpm exec unisane-ui.

The CLI detects pnpm, npm, Yarn, or Bun from the project lockfile or packageManager field. It installs exact registry dependencies automatically and restores source, configuration, manifest, and lock files if installation fails.

Add Unisane UI

pnpm dlx @unisane/ui-cli@latest init --theme blue
pnpm dlx @unisane/ui-cli@latest add button card text-field

Installed components use application-owned imports:

import { Button } from '@/components/ui/button';

Registry-installed applications do not require @unisane/ui, @unisane/tokens, @unisane/ui-cli at runtime. The CLI may remain a development dependency for explicit update and diagnostic commands.

Commands

| Command | Purpose | | ------------------------------- | --------------------------------------------------------------------------------- | | unisane-ui init | Install the semantic stylesheet baseline, theme, local utility, and configuration | | unisane-ui add | Add selected components and their complete registry dependency closure | | unisane-ui list | List the generated registry catalog | | unisane-ui search | Search catalog names, descriptions, and item types | | unisane-ui view | Inspect one item, its files, packages, and registry dependencies | | unisane-ui diff | Inspect differences without overwriting application source | | unisane-ui doctor | Check the local installation contract | | unisane-ui theme | Replace the generated semantic color theme | | unisane-ui appearance enable | Add selected runtime appearance preferences | | unisane-ui appearance disable | Remove one runtime appearance preference | | unisane-ui appearance list | Show enabled appearance preferences |

components.json is the only project routing and appearance configuration. The CLI does not read unisane.json, unisane-ui.json, or package.json.unisane. Use --no-install on init, add, or appearance enable only when dependency installation is intentionally owned elsewhere.

The Shadcn-compatible registry catalog is generated from the canonical packages/ui/src/** authoring source and copied into this package during build. Every item declares target files, exact npm packages, and its complete local dependency closure. Runtime commands use only the bundled catalog.

The same catalog is projected to https://ui.unisane.com/r/registry.json with one content-bearing item at /r/{name}.json. components.json registers the @unisane namespace against those item URLs. The hosted projection is compatible with the official Shadcn registry-item contract; the bundled catalog remains available for offline Unisane CLI operation.

License

MIT