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

create-solidcn-app

v0.0.3

Published

Create a new SolidJS app with solidcn pre-configured

Readme

create-solidcn-app

Create a new SolidJS application with solidcn UI components pre-configured.

Usage

npm create solidcn-app@latest
pnpm create solidcn-app@latest
bun create solidcn-app@latest

What It Does

solidcn scaffolds a complete SolidStart project with:

  1. SolidStart — file-based routing, SSR, and server functions
  2. Tailwind CSS v4 — utility-first styling with solidcn design tokens
  3. solidcn configurationsolidcn.json with component aliases and theme settings
  4. Utility setupcn() helper for Tailwind class merging
  5. Component aliases~/components/ui and ~/lib/utils path aliases ready to use
  6. ThemeProvider@solidcn/themes wrapped at the app root

Interactive Prompts

| Prompt | Options | |---|---|---| | Project name | Any lowercase alphanumeric string with hyphens/underscores | | Template | default (SolidStart + solidcn + Tailwind v4), minimal (bare essential components) | | Base color | default, slate, zinc, rose, blue, green, orange | | Package manager | npm, pnpm, bun |

Generated Structure

my-app/
├── src/
│   ├── components/ui/     # solidcn components install here
│   ├── lib/
│   │   └── utils.ts       # cn() helper
│   ├── routes/
│   │   └── index.tsx      # Home page
│   ├── app.tsx            # App root with ThemeProvider
│   └── app.css             # Tailwind directives
├── solidcn.json            # solidcn CLI configuration
├── package.json
└── tsconfig.json

After Creation

Navigate to your new project and start developing:

cd my-app
npm run dev

Add components with CLI:

npx solidcn@latest add button dialog card
npx solidcn@latest add form input label

If setup drift happens later, solidcn add now runs preflight checks and can auto-fix Tailwind/plugin/alias gaps before install.

Update existing components when the registry changes:

npx solidcn@latest diff button
npx solidcn@latest update button

SolidStart Integration

The generated project uses SolidStart's file-based routing:

// src/routes/index.tsx
import { Button } from "~/components/ui/button";

export default function Home() {
  return (
    <div class="container mx-auto flex min-h-screen items-center justify-center">
      <Button>Hello, SolidJS</Button>
    </div>
  );
}

Path aliases (~/*) resolve to src/* automatically through the project's TypeScript configuration.

Non-Interactive Usage

For CI/CD or scripted scaffolding, you can use the interactive prompts with stdin piping or use expect-style tools. The CLI requires interactive input — it does not currently support all-options-on-flags mode.

Requirements

  • Node.js ≥ 20
  • npm, pnpm, or bun

License

MIT