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

@nat-ui/cli

v0.6.0

Published

Add nat-ui components to your project.

Readme

@nat-ui/cli

Add nat-ui components to your project as source you own and can edit, not installed as a dependency you can only configure.

Components are React, built on Base UI for behavior and Tailwind CSS v4 for styling. The CLI itself needs Node 22.13+, since it runs through npx.

Usage

npx @nat-ui/cli@latest init
npx @nat-ui/cli@latest add button

init configures the project once: it finds your stylesheet, writes components.json from your detected aliases, creates the cn helper, adds the theme variables, and installs clsx and tailwind-merge.

add reads that config, so components land where you already keep things with their imports rewritten to your aliases. Dependencies come with them.

To take everything the registry has rather than naming components one at a time:

npx @nat-ui/cli@latest add --all

Options

| Option | Effect | | ------------------ | -------------------------------------------------- | | -y, --yes | Accept every default without asking | | --overwrite | Replace files that already exist | | --all | Add every item in the registry, libraries included | | --registry <url> | Use a different registry | | -v, --version | Print the version | | -h, --help | Show this message |

--yes and --overwrite are not two ways of saying the same thing. --yes accepts defaults, and keeping the file you already have is the default, so --yes answers no to the overwrite question. --overwrite is what answers yes.

Already using shadcn?

You don't need this CLI. Every component is published in shadcn's registry format as well as nat-ui's:

npx shadcn@latest add https://nat-ui-delta.vercel.app/s/button.json

This CLI is still the better option for a new project, where init writing theme tokens and components.json is a service rather than an intrusion.

Documentation

Full documentation is at nat-ui-delta.vercel.app/docs.

License

MIT