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

@etus/seven

v0.1.0-beta.0

Published

Seven Design System CLI — add components as source into your project (shadcn-style, but Seven-native).

Readme

@etus/seven

CLI that distributes Seven Design System components as source into your React project — you own the code, no @etus/ui runtime dependency. Seven-native, shadcn-style, with per-component token slicing so a page ships only the tokens it uses.

npx @etus/seven init                 # foundation (tokens + @theme + base layer + cn) + seven.json
npx @etus/seven add button kbd       # copy components + their sliced tokens into your src

Commands

  • seven init — installs the curated foundation (semantic tokens, @theme mappings, base layer, scrollbar, the cn helper), detects your import alias from tsconfig/jsconfig paths (falls back to @/), and writes seven.json.
  • seven add <component...> — resolves the component's registryDependencies, writes the source into your project (rewriting imports to your alias), and reports the npm packages to install.

Flags

  • --registry <path|url> — registry manifest (default: the registry bundled in this package).
  • --cwd <dir> — target project (default: current directory).
  • --overwrite / --force — replace files that already exist (default: keep your customized files).
  • --dry-run — report what would be written/skipped/overwritten without touching the filesystem.
  • --diff — show a line diff (incoming vs your current copy) for each file that already exists and differs.
  • --install — install the npm dependencies with your package manager (detected from the lockfile; default is to just print the command).

Using a hosted registry (CDN)

By default the CLI reads the registry bundled in the installed package — offline-capable and versioned with the CLI binary. Because the registry ships inside the npm tarball, a CDN like jsDelivr serves it with zero extra hosting, so you can opt into the latest published registry without upgrading the CLI:

# latest published registry
seven add button --registry https://cdn.jsdelivr.net/npm/@etus/seven/registry/registry.json

# pin to a specific version for reproducibility
seven add button --registry https://cdn.jsdelivr.net/npm/@etus/[email protected]/registry/registry.json

The CLI fetches the component source files relative to that URL automatically. Keep the default (bundled) unless you specifically want a newer registry than your installed CLI.

Updating a component

There is no update command and no version lockfile — you own the copied code, so updates are git-based (same model as shadcn):

seven add button --diff --dry-run   # preview what would change, write nothing
seven add button --overwrite        # pull the latest, replacing your copy
git diff                            # reconcile your customizations with the upstream change

--diff shows what overwriting would do before you commit to it; git is the merge tool. There is intentionally no stored baseline or 3-way merge.

Safety

seven add never overwrites a file whose content has diverged from the registry (i.e. one you've customized) unless you pass --overwrite. Identical content is an idempotent no-op.

When to use this vs @etus/ui

See docs/distribution/react-consumption.md — the registry/CLI suits weight-sensitive public pages (blog, quiz) and apps that customize; package mode (@etus/ui) suits apps that consume Seven broadly and prefer a single auto-updating dependency.