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

@orion-ds/create

v1.0.0

Published

Create a new project with Orion Design System — zero configuration

Readme

@orion-ds/create

Scaffold a new Orion Design System project with zero configuration. Generates a fully working Vite + React + TypeScript app pre-configured with Orion components, tokens, and ThemeProvider.

Quick Start

npx @orion-ds/create my-app
cd my-app
npm run dev

Usage

npx @orion-ds/create <project-name> [options]

Options

| Flag | Values | Default | Description | | --------- | ------------------------------------ | --------- | -------------------------------------------- | | --brand | orion, unitec, laureate, uvm | orion | Brand preset to configure | | --mode | display, product, app | product | UI mode that determines the starter template | | --theme | light, dark | light | Default theme | | --help | | | Show help message |

Examples

# Default: Product mode, Orion brand, light theme
npx @orion-ds/create my-app

# SaaS dashboard with dark theme
npx @orion-ds/create dashboard --brand=orion --mode=product --theme=dark

# Marketing landing page
npx @orion-ds/create landing-page --mode=display

# Mobile-first app
npx @orion-ds/create mobile-app --mode=app

What Gets Generated

The scaffolder creates a complete Vite + React + TypeScript project:

my-app/
  package.json          # Dependencies pre-configured
  vite.config.ts        # Vite with React plugin
  tsconfig.json         # Strict TypeScript config
  index.html            # HTML entry point
  public/               # Static assets directory
  src/
    main.tsx            # Entry with ThemeProvider setup
    App.tsx             # Starter app (varies by mode)
    vite-env.d.ts       # Vite type declarations

Mode-Specific Starter Apps

The --mode flag determines which starter template is generated:

Product mode (default) -- A dashboard layout with:

  • Stat cards using Card, Badge, and Lucide icons
  • Theme toggle button
  • Quick action buttons demonstrating variant usage

Display mode -- A marketing hero layout with:

  • Large headline and description
  • CTA buttons with icon support
  • Theme toggle

App mode -- A mobile-first layout with:

  • Search input field
  • Welcome card
  • Bottom navigation bar with icon-only buttons
  • Touch-friendly sizing

Pre-Installed Dependencies

The generated project includes:

| Package | Purpose | | ---------------------- | ------------------------------- | | @orion-ds/core | Design tokens and CSS variables | | @orion-ds/react | React component library | | lucide-react | Icon library (5000+ icons) | | react / react-dom | React 19 | | vite | Build tool | | typescript | Type checking | | @vitejs/plugin-react | Vite React support |

Generated Configuration

ThemeProvider is set up in main.tsx with your chosen brand and theme:

<ThemeProvider defaultTheme="light" defaultBrand="orion">
  <App />
</ThemeProvider>

CSS import is included automatically:

import '@orion-ds/react/styles.css';

Fonts load automatically via ThemeProvider. No manual Google Fonts setup required.

After Scaffolding

cd my-app
npm run dev       # Start development server
npm run build     # Build for production
npm run preview   # Preview production build

How It Works

The scaffolder is a zero-dependency Node.js script. It:

  1. Parses CLI arguments (no external arg parser needed)
  2. Creates the project directory and src/ and public/ subdirectories
  3. Generates all files from inline templates (no external template files required)
  4. Runs npm install automatically
  5. Prints next steps

If npm install fails (e.g., no network), the project is still fully created and you can install manually.

Development

# Build the CLI
cd packages/create
npm run build

# Watch mode
npm run dev

# Type check
npm run type-check

License

MIT