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

@nyuchi/design-cli

v0.1.0

Published

Bootstrap a Nyuchi Design app — install components from the registry and skills for AI agents.

Downloads

24

Readme

@nyuchi/design-cli

Bootstrap a Nyuchi Design app — install components from the registry and skills for AI agents.

# Scaffold a fresh project (writes globals.css, components.json, lib/utils.ts,
# theme-provider, and seeds .claude/skills/)
npx @nyuchi/design-cli init

# Install one component (wraps the shadcn CLI, pinned to design.nyuchi.com)
npx @nyuchi/design-cli add button

# Install agent skills into ./.claude/skills/
npx @nyuchi/design-cli skills install
npx @nyuchi/design-cli skills update

What it does

@nyuchi/design-cli is the canonical entry point for adopting the Nyuchi Design system in any consumer app — replacing the previous 8-step manual bootstrap (globals.css copy, lib/utils.ts, theme provider, components.json, …) with a single command.

Subcommands:

| Command | Action | | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | init | Writes the canonical bootstrap files (app/globals.css, lib/utils.ts, components/theme-provider.tsx, components.json) into the current directory. Idempotent — won't overwrite existing files unless --force. | | add <component...> | Thin wrapper over npx shadcn@latest add <url> pinned to the Nyuchi registry at https://design.nyuchi.com/api/v1/ui. | | skills install [name] | Fetches /api/v1/skills (or /api/v1/skills/<name>) and writes .md files to ./.claude/skills/. | | skills update | Re-fetches via /api/v1/skills/summary; reports version drift; rewrites changed skills. |

Where everything lives

  • Source of truth: the Supabase components and skills tables on the Nyuchi Design Portal — served live at https://design.nyuchi.com.
  • Component install path: shadcn CLI under the hood — nyuchi-design add is just a thin wrapper that pre-fills the registry URL.
  • Skills install path: HTTP GET /api/v1/skills/<name> returns the MDX body; CLI writes to ./.claude/skills/<name>.md.
  • Skills bundled in the npm package: @nyuchi/design-agent-skills ships the same .md files for offline / npx skills add workflows.

Doctrine

  • Five African Minerals color palette (Cobalt, Tanzanite, Malachite, Gold, Terracotta).
  • CVA + Radix + cn() component pattern.
  • APCA 3.0 AAA contrast targets.
  • 56 px default / 48 px minimum touch targets.
  • Buttons are always pill-shaped (rounded-full).

The init subcommand wires all of these into the consumer project so every downstream component uses them by default.

Development

This package lives in the nyuchi/design-portal monorepo. To work on it:

git clone https://github.com/nyuchi/design-portal
cd design-portal
pnpm install                                       # installs every package in the workspace
pnpm --filter @nyuchi/design-cli build              # build only this package
pnpm --filter @nyuchi/design-cli test               # run vitest
node packages/design-cli/bin/cli.js init            # exercise the local CLI

License

MIT — © Nyuchi Africa (PVT) Ltd