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

@splice-tools/cli

v0.1.0

Published

Install Splice components from the Splice registry into your project.

Readme

@splice-tools/cli

Install components from the Splice registry into your project. Reads a registry-item JSON, drops files in the right place, runs npm/pnpm/yarn/bun install for any required packages, and recurses into other registry items it depends on.

Install

You don't install this — you run it. Pick the runner that matches your project's package manager:

# npm
npx     @splice-tools/cli add button-progress

# pnpm
pnpm dlx @splice-tools/cli add button-progress

# yarn (v2+)
yarn dlx @splice-tools/cli add button-progress

# bun
bunx     @splice-tools/cli add button-progress

The CLI auto-detects your project's package manager from its lockfile.

Usage

splice add <id|url> [options]

Options:
  --cwd <path>      Project root to install into (default: current dir)
  --no-install      Skip the dependency install step (still writes files)
  --base-url <url>  Override the default registry base URL
                    (Or set SPLICE_REGISTRY_URL.)
  -h, --help        Show help
  -v, --version     Show version

By id

npx @splice-tools/cli add button-progress

Resolves to https://splice.tools/r/button-progress.json and installs the React bundle into components/ui/.

By full URL

npx @splice-tools/cli add https://splice.tools/r/button-progress.vue.json

Use the framework-specific URL to install the Vue, Svelte, or Angular bundle (when available). The discovery list lives at https://splice.tools/r/index.json.

What it does, step by step

  1. Fetches the registry-item JSON from the resolved URL.
  2. Validates a few required fields (name, type, files[]).
  3. Recursively adds any registryDependencies first.
  4. Writes each files[].content to files[].path relative to your project root, creating folders as needed.
  5. If the item lists dependencies[], runs your project's package manager to install them.

That's it. No prompts, no project mutation beyond what's listed in the JSON. Re-run any time to re-install (it will overwrite the files).

Safety

  • Refuses to write to absolute paths or anything outside --cwd.
  • Validates required fields before touching the filesystem.
  • Skips the install step entirely with --no-install if you want to diff before installing deps.

Roadmap

See ROADMAP.md at the repository root. Phase 4 will add Tailwind config merging when the first Tailwind component lands in the registry.

License

MIT