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

@dofu-lab/simui-cli

v0.1.6

Published

CLI to add SimUI components to your Angular project

Readme

@dofu-lab/simui-cli

A small, focused CLI to fetch and inject SimUI Angular components into an existing Angular project.

npm version license

This tool fetches component source from the SimUI registry (https://simui.dev/registry), writes the component file into your project, and offers to install any detected dependencies (Spartan UI generators and ng-icons).

Features

  • Fetch a component by name and inject it into your project
  • Detects @spartan-ng/helm/* and @ng-icons/* imports and offers to install them
  • Default output path: src/app/components (configurable with --path)

Prerequisites

  • Node.js >= 18
  • An Angular project (CLI available via ng)

Installation (local use)

You can run the CLI directly from the built artifact in this repository without publishing to npm:

cd packages/cli
npm install
npm run build
node dist/index.js add accordion-01

Usage

# Fetch and add a component to the default location
node dist/index.js add accordion-01

# Use the published package (once available)
npx @dofu-lab/simui-cli add accordion-01

# Override output directory
node dist/index.js add badge-01 --path src/shared/ui

Commands

  • add <component> — fetches <component> from the registry and writes <component>.component.ts to the output directory.

Options

  • -p, --path <dir> — Output directory relative to the current working directory (default: src/app/components).

What the command does

  1. Fetches https://simui.dev/registry/<name>.json and reads the content field.
  2. Writes the TypeScript component file to the chosen output path.
  3. Parses the source for @spartan-ng/helm/* and @ng-icons/* imports.
  4. Prompts to install dependencies. Spartan packages are invoked via the Angular generator:
ng generate @spartan-ng/cli:ui <package>

And @ng-icons/* packages are installed via your detected package manager (pnpm, yarn, or npm).

Development

cd packages/cli
npm install
npm run build
# Run the CLI locally
node dist/index.js add select-01

Publishing

Follow these steps to publish a new version of this package under the @dofu-lab scope.

cd packages/cli
# bump version (creates a commit + tag)
npm version patch

# build
npm run build

# dry-run
npm publish --dry-run

# publish (scoped public requires --access public)
npm publish --access public

# push commits and tags
git push origin main
git push --tags

Contributing

Contributions are welcome. Open issues or pull requests against this repository. For code changes:

  1. Fork the repo
  2. Create a feature branch
  3. Run tests and build locally
  4. Submit a pull request

License

This project is licensed under the MIT License — see the LICENSE file for details.

Support

If you encounter issues, open an issue on the repository with logs and reproduction steps.