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

@expcat/tigercat-cli

v1.3.0

Published

CLI tooling for Tigercat UI library — project scaffolding, component generation, and more

Downloads

2,790

Readme

@expcat/tigercat-cli

CLI tooling for the Tigercat UI component library.

Installation

pnpm add -g @expcat/tigercat-cli
# or
npx @expcat/tigercat-cli

Usage Examples

Start a Vue 3 project

tigercat create admin-console --template vue3
cd admin-console
pnpm install
pnpm dev

Preview the generated file list without writing files:

tigercat create admin-console --template vue3 --dry-run

Start a React project

tigercat create design-lab --template react
cd design-lab
pnpm install
pnpm dev

Add component boilerplate to an existing project

Run from a project that already depends on @expcat/tigercat-vue or @expcat/tigercat-react:

tigercat add Button Form Input Select
tigercat add --framework vue3 --install --snippet src/tigercat-components.ts

When no component names are provided, add opens an interactive multi-select prompt. The command prints the correct package import, detects missing peer dependencies, can install them with --install, and creates src/components/*Demo.vue or src/components/*Demo.tsx files when a src/components directory exists.

tigercat add Button Form Input Select --dry-run

Open a temporary playground

tigercat playground --template vue3 --port 3456
tigercat playground --template react --port 3457
tigercat playground --template react --no-open

Playground files are created under .tigercat-playground/ in the current working directory.

tigercat playground --template react --port 3457 --dry-run

Generate API docs from type definitions

tigercat generate docs --input packages/core/src/types --output docs/api
tigercat generate docs --input packages/core/src/types --output docs/api --dry-run
tigercat generate test Button --framework both
tigercat generate doc-template Button --output docs/components

Check project compatibility

tigercat doctor
tigercat doctor --json

doctor verifies package.json, Node.js, pnpm, Tailwind CSS, Tigercat peer dependencies, template dependency compatibility, and the supported version compatibility matrix. JSON output is designed for CI and automated diagnostics.

Commands

tigercat create <name>

Create a new project with Tigercat pre-configured.

tigercat create my-app --template vue3
tigercat create my-app --template react
tigercat create my-app --template vue3 --dry-run

tigercat add <component>

Add a component to your project with import boilerplate.

tigercat add Button
tigercat add Form Input Select DatePicker
tigercat add --framework react --install --snippet src/tigercat-components.ts
tigercat add Button --dry-run

tigercat playground

Launch an interactive playground for testing components.

tigercat playground
tigercat playground --template react
tigercat playground --template react --no-open
tigercat playground --template react --dry-run

tigercat generate docs

Generate API documentation from component type definitions.

tigercat generate docs
tigercat generate docs --output ./docs/api
tigercat generate docs --output ./docs/api --dry-run

tigercat generate test

Generate Vue and/or React starter test templates for a component.

tigercat generate test Button --framework both
tigercat generate test Button --framework vue3
tigercat generate test Button --framework react --dry-run

tigercat generate doc-template

Generate a component documentation page template.

tigercat generate doc-template Button
tigercat generate doc-template Button --output docs/components --dry-run

tigercat doctor

Check whether the current project has compatible Node, pnpm, Tailwind CSS, Tigercat peer dependencies, and template tooling.

tigercat doctor
tigercat doctor --json

Windows Support

The CLI is fully cross-platform. All template file paths use forward slashes and are resolved via Node.js path.resolve() at write time, so they work correctly on Windows with backslash paths, paths containing spaces, and UNC paths.

Package Manager .cmd Shims

When installed globally or locally, each package manager creates platform-specific shims so that tigercat can be invoked directly from PowerShell, CMD, or Git Bash:

| Package manager | Global install | Shim files created | | --------------- | ---------------------------------- | ----------------------------------------------- | | pnpm | pnpm add -g @expcat/tigercat-cli | tigercat.cmd, tigercat (sh) | | npm | npm i -g @expcat/tigercat-cli | tigercat.cmd, tigercat (sh), tigercat.ps1 | | bun | bun add -g @expcat/tigercat-cli | tigercat.cmd, tigercat (sh) |

For local (non-global) installs, run via npx tigercat, pnpm exec tigercat, or bunx tigercat. The #!/usr/bin/env node shebang in the built output is used by all three package managers to locate the Node.js runtime.

Note: If you use Corepack with pnpm on Windows, ensure shell: true is passed when spawning pnpm programmatically (the project scripts already handle this via scripts/utils/pnpm.mjs).

License

MIT