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-thunder-stack

v1.0.5

Published

Scaffold a new THUNDER Stack cross-platform monorepo application

Readme

⚡ create-thunder-stack ⚡

Scaffold a premium, production-ready, cross-platform monorepo application using the THUNDER Stack in seconds.

Web application with Next.js, mobile app with Expo, a lightning-fast API backend with Hono, and database services powered by Drizzle ORM & PostgreSQL.


🚀 Quick Start

Run the initializer in your terminal:

# Create in a new folder
npx create-thunder-stack my-app

# Or scaffold directly inside your current directory
npx create-thunder-stack .

# Scaffold with full AI architecture blueprints, deployment guides & fix docs (.internal/)
npx create-thunder-stack my-app --ai
npx create-thunder-stack . --ai

[!TIP] Use the --ai (or --docs, --internal) flag to bundle the universal DevOps master deployment guides, database & Hyperdrive blueprints, and cross-origin auth architecture into .internal/ for AI pair-programming and developer agents.

The installer will automatically scaffold the workspace, install dependencies, and run the preparation script to copy .env.example to .env and connect .dev.vars inside the Hono server to it.

Once the setup is completed, follow these steps to initialize and start your project:

⚙️ Step-by-Step Initialization

1. Navigate to your project directory

cd my-app

2. Configure Your Database URL

Open the root .env file and configure your DATABASE_URL with your Postgres connection string (e.g., Neon serverless Postgres).

3. Generate Database Migration

Generate your database schema migration named initial_schema:

pnpm migrate:generate initial_schema

4. Deploy Database Migration

Apply the migrations to your target database:

pnpm migrate:deploy

🛠️ Run, Build & Dev Commands

Run these commands from the root directory:

Run Development Servers Concurrently

pnpm dev

Starts Next.js (port 3000), Hono Backend Server (port 8787), and the Expo bundler concurrently.

Run the Mobile Application (Expo Client)

pnpm native

Build & Start for Production

To build all applications:

pnpm build

To start the production servers (Next.js web & Hono backend):

pnpm start

📂 Architecture Layout

my-thunder-app/
├── client/              # Frontend Applications
│   ├── expo/            # Mobile client (React Native / Expo Go)
│   └── nextjs/          # Web client (Next.js App Router)
│
├── server/              # Backend Services
│   ├── db/              # Relational database client & migrations (@thunder/db)
│   └── hono/            # Light & fast web API Gateway (@thunder/api)
│
└── packages/            # Shared Monorepo Packages
    └── shared/          # Shared types, constants, & utility code

✨ Features Included

  • Cross-Platform Routing & Structure: Ready-to-go monorepo architecture structure for unified Next.js + React Native mobile apps.
  • Serverless Hono Backend: Mount Hono API endpoints on Cloudflare Workers, Edge, or traditional Node.js servers.
  • Drizzle ORM & Postgres: Connect to Postgres (e.g. Neon Database) with automated Drizzle migrations and custom seeding hooks.
  • Complete Authentication Solution: Pre-configured Better Auth with social logins (Google) and secure authentication callback logic.