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-launch-pad-app2

v1.0.38

Published

Launch your saas faster.

Downloads

13

Readme

🚀 Create Launch Pad App

A powerful CLI tool to bootstrap full-stack SaaS applications instantly. Launch your SaaS faster with pre-configured authentication, payments, databases, analytics, and more.

📦 Installation

Global Installation (Recommended)

npm install -g create-launch-pad-app2

One-time Usage (npx)

npx create-launch-pad-app2

🎯 Quick Start

Interactive Mode (Default)

# Start the interactive setup
create-launch-pad-app2

# Or specify a project name
create-launch-pad-app2 my-saas-app

Non-Interactive Mode

# Use default configuration
create-launch-pad-app2 my-app --yes

# Custom configuration
create-launch-pad-app2 my-app \
  --database postgres \
  --auth betterAuth \
  --payment stripe \
  --analytics umami \
  --git \
  --install

⚙️ Configuration Options

Database Options

  • postgres - PostgreSQL with pg driver (default)
  • supabase - Supabase with built-in auth and realtime
  • mongodb - MongoDB with Mongoose ODM

Authentication

  • betterAuth - Modern auth library with TypeScript support (default)
  • supabaseAuth - Supabase authentication (only with supabase database)
  • none - No authentication setup

Payment Processing

  • stripe - Stripe integration with webhooks (default)
  • lemonsqueezy - Lemon Squeezy for digital products
  • none - No payment processing

Analytics

  • umami - Privacy-focused analytics (default)
  • posthog - Product analytics and feature flags
  • none - No analytics

Package Managers

  • npm - Node Package Manager
  • yarn - Yarn Classic
  • pnpm - Performant npm
  • bun - Fast all-in-one toolkit

🛠️ CLI Flags

| Flag | Type | Default | Description | |------|------|---------|-------------| | --yes | boolean | false | Skip prompts, use default configuration | | --database | string | postgres | Database type (postgres/supabase/mongodb) | | --auth | string | betterAuth | Authentication method | | --payment | string | stripe | Payment processing | | --analytics | string | umami | Analytics provider | | --git | boolean | true | Initialize git repository | | --package-manager | string | auto-detect | Package manager to use | | --install | boolean | true | Install dependencies after creation |

📁 Generated Project Structure

my-saas-app/
├── app/                    # Next.js app directory
│   ├── (auth)/            # Authentication routes
│   ├── (dashboard)/       # Protected dashboard
│   ├── api/               # API routes
│   └── globals.css        # Global styles
├── components/            # Reusable UI components
│   ├── ui/               # Base UI components (shadcn/ui)
│   └── custom/           # Custom components
├── lib/                  # Utility libraries
│   ├── auth.ts          # Authentication config
│   ├── db.ts            # Database connection
│   └── utils.ts         # Helper functions
├── hooks/               # Custom React hooks
├── types/               # TypeScript type definitions
├── public/              # Static assets
├── .env.local          # Environment variables
├── package.json        # Dependencies and scripts
├── tsconfig.json       # TypeScript configuration
└── next.config.ts      # Next.js configuration

🧩 Included Features

Core Stack

  • Next.js 15 - React framework with App Router
  • TypeScript - Type safety and better DX
  • Tailwind CSS - Utility-first CSS framework
  • shadcn/ui - Beautiful and accessible components

Database & ORM

  • PostgreSQL with native pg driver
  • Supabase with real-time capabilities
  • MongoDB with Mongoose ODM
  • Prisma ORM support (configurable)

Authentication

  • Better Auth - Modern, type-safe authentication
  • Supabase Auth - Built-in authentication with social providers
  • Protected routes and middleware
  • Session management

Payment Processing

  • Stripe - Complete payment solution with webhooks
  • Lemon Squeezy - Digital product payments
  • Subscription management
  • Customer portal integration

Analytics & Monitoring

  • Umami - Privacy-first web analytics
  • PostHog - Product analytics with feature flags
  • Event tracking and conversion funnels

Development Tools

  • ESLint configuration
  • Prettier code formatting
  • Husky git hooks
  • TypeScript strict mode
  • Hot reloading and fast refresh

🎨 UI Components

The generated project includes a comprehensive set of pre-built components:

  • Navigation - Responsive navbar and sidebar
  • Forms - Login, signup, contact forms with validation
  • Dashboard - Analytics cards and data tables
  • Marketing - Landing page sections and CTAs
  • Settings - User profile and preferences
  • Billing - Subscription management and invoicing

🔧 Development Commands

# Start development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Type checking
npm run check-types

# Lint code
npm run lint

# Format code
npm run format

🌐 Environment Variables

The CLI automatically generates .env.local with required variables:

# Database
DATABASE_URL="postgresql://user:password@localhost:5432/dbname"

# Authentication
AUTH_SECRET="your-auth-secret"
AUTH_URL="http://localhost:3000"

# Payment (Stripe example)
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."

# Analytics (Umami example)
NEXT_PUBLIC_UMAMI_WEBSITE_ID="your-website-id"
UMAMI_URL="https://analytics.example.com"

📚 Examples

Create a SaaS with PostgreSQL and Stripe

create-launch-pad-app2 my-saas \
  --database postgres \
  --auth betterAuth \
  --payment stripe \
  --analytics umami

Create a simple app with MongoDB (no payments)

create-launch-pad-app2 simple-app \
  --database mongodb \
  --auth betterAuth \
  --payment none \
  --analytics none

Use Supabase as backend-as-a-service

create-launch-pad-app2 supabase-app \
  --database supabase \
  --auth supabaseAuth \
  --payment lemonsqueezy

🔄 Post-Generation Steps

After creating your project:

  1. Configure environment variables in .env.local
  2. Set up your database (create tables, run migrations)
  3. Configure payment webhooks (Stripe/Lemon Squeezy)
  4. Set up analytics tracking (Umami/PostHog)
  5. Deploy to your preferred platform (Vercel, Netlify, etc.)

🐛 Troubleshooting

Common Issues

Q: CLI command not found

npm install -g create-launch-pad-app2
# or
npx create-launch-pad-app2

Q: Permission errors during installation

sudo npm install -g create-launch-pad-app2
# or use a node version manager

Q: Database connection issues

  • Check your DATABASE_URL in .env.local
  • Ensure database server is running
  • Verify connection credentials

Q: Build errors after generation

# Clear cache and reinstall
rm -rf node_modules package-lock.json
npm install

🤝 Contributing

This CLI is part of a larger monorepo. To contribute:

  1. Clone the repository
  2. Install dependencies: npm install
  3. Navigate to CLI: cd apps/cli
  4. Make changes and test: npm run dev
  5. Build: npm run build
  6. Test locally: npm link then create-launch-pad-app2

📄 License

ISC License - see the LICENSE file for details.

🔗 Links


Built with ❤️ to help developers ship faster.