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

@lemasani/launchstack

v0.0.1

Published

Launch production-ready React apps in seconds with your choice of routing, state management, and authentication

Readme

LaunchStack

Launch production-ready React apps in seconds with your choice of routing, state management, and authentication.

Features

  • 🚀 Lightning fast - Get up and running in seconds
  • 🎨 Production-ready - React 19, Vite, TypeScript, Tailwind CSS v4, and shadcn/ui
  • 🔀 Flexible routing - Choose between React Router, TanStack Router, or none
  • 📦 Modern stack - TanStack Query, Better Auth, Axios
  • 📝 Type-safe forms - React Hook Form or TanStack Form with Zod validation
  • 🎯 Fully typed - Complete TypeScript support throughout
  • 🌈 Beautiful UI - 13 pre-configured shadcn/ui components
  • 🔧 Developer experience - ESLint, git initialization, and more

Quick Start

# Using npm
npx launchstack my-app

# Using pnpm
pnpm dlx launchstack my-app

# Using yarn
yarn dlx launchstack my-app

# Using bun
bunx launchstack my-app

Usage

Interactive Mode

Simply run the command and follow the prompts:

npx launchstack my-app

You'll be asked to choose:

  • Router: React Router, TanStack Router, or none
  • Features: TanStack Query, Better Auth, Axios
  • Form library: React Hook Form, TanStack Form, or none
  • Git initialization: Yes or No
  • Install dependencies: Yes or No

CLI Flags

Skip the interactive prompts by using command-line flags:

npx launchstack my-app \
  --router react-router \
  --query \
  --auth \
  --axios \
  --form react-hook-form \
  --no-git \
  --no-install

Available Flags

| Flag | Values | Description | |------|--------|-------------| | --router | react-router, tanstack-router, none | Choose routing library | | --query | boolean | Include TanStack Query | | --auth | boolean | Include Better Auth | | --axios | boolean | Include Axios | | --form | react-hook-form, tanstack-form, none | Choose form library | | --no-git | boolean | Skip git initialization | | --no-install | boolean | Skip dependency installation |

What's Included

Base Template

  • React 19 - Latest React with concurrent features
  • Vite - Lightning-fast build tool
  • TypeScript - Full type safety
  • Tailwind CSS v4 - Utility-first CSS framework
  • shadcn/ui - 13 pre-configured components:
    • Button, Card, Input, Label, Select
    • Alert, Badge, Progress, Separator
    • Skeleton, Spinner, Tabs, Tooltip

Routing Options

React Router (v7+)

  • Pre-configured routes: Home, About, Dashboard
  • Nested layouts
  • Type-safe navigation

TanStack Router

  • File-based routing
  • Type-safe routes with auto-completion
  • Route generation with Vite plugin
  • Built-in devtools

Features

TanStack Query

  • Data fetching and caching
  • Query provider setup
  • Example queries with hooks
  • React Query Devtools

Better Auth

  • Email/password authentication
  • SQLite database (better-sqlite3)
  • Pre-configured auth client
  • Login page (when using a router)
  • Environment variables setup

Axios

  • Pre-configured API client
  • Request/response interceptors
  • Environment-based API URL
  • Error handling

Form Libraries

React Hook Form

  • Performant form handling
  • Zod schema validation
  • shadcn/ui integration
  • Example form with validation

TanStack Form

  • Type-safe forms
  • Zod validation adapter
  • Field-level validation
  • Example form component

Project Structure

my-app/
├── src/
│   ├── components/
│   │   ├── ui/           # shadcn/ui components
│   │   └── forms/        # Form components (if selected)
│   ├── hooks/            # Custom React hooks
│   ├── lib/              # Utilities and configuration
│   │   ├── utils.ts      # Helper functions
│   │   ├── query-provider.tsx  # If TanStack Query selected
│   │   ├── auth.ts       # If Better Auth selected
│   │   └── api-client.ts # If Axios selected
│   ├── pages/            # Page components (React Router)
│   │   or
│   ├── routes/           # Route files (TanStack Router)
│   ├── App.tsx
│   ├── main.tsx
│   └── index.css
├── .env                  # Environment variables
├── .gitignore
├── package.json
├── tsconfig.json
├── vite.config.ts
└── README.md

Examples

Create a project with React Router and TanStack Query

npx launchstack my-app --router react-router --query

Create a full-stack app with authentication

npx launchstack my-app \
  --router tanstack-router \
  --query \
  --auth \
  --axios \
  --form react-hook-form

Create a simple SPA without routing

npx launchstack my-app --router none

Development

After creating your project:

cd my-app

# If you skipped installation
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Requirements

  • Node.js 18.0.0 or higher
  • npm, pnpm, yarn, or bun

Features Comparison

| Feature | Base | With Router | With Auth | Full Stack | |---------|------|-------------|-----------|------------| | React 19 | ✅ | ✅ | ✅ | ✅ | | TypeScript | ✅ | ✅ | ✅ | ✅ | | Tailwind CSS | ✅ | ✅ | ✅ | ✅ | | shadcn/ui | ✅ | ✅ | ✅ | ✅ | | Routing | ❌ | ✅ | ✅ | ✅ | | Data Fetching | ❌ | ❌ | ❌ | ✅ | | Authentication | ❌ | ❌ | ✅ | ✅ | | Forms | ❌ | ❌ | ❌ | ✅ |

Warnings

Better Auth without Router

If you select Better Auth without a router, authentication configuration files will be created, but no login page will be generated. You'll need to create your own authentication UI.

Publishing (for maintainers)

Local Testing

Test the package locally before publishing:

# Build the package
pnpm build

# Create a tarball
npm pack

# Test the tarball in a temporary directory
cd /tmp
npm install -g /path/to/launchstack-0.0.1.tgz
launchstack test-app

Publishing to npm

  1. Build and test:

    pnpm build
    pnpm test
  2. Update version (if needed):

    npm version patch  # or minor, or major
  3. Login to npm (first time only):

    npm login
  4. Publish:

    npm publish
  5. Verify:

    npx launchstack@latest verify-project

Note: The prepublishOnly script will automatically run pnpm build && pnpm test before publishing.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please file an issue on the GitHub repository.