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-tanstack-hono-start

v2.0.0

Published

๐Ÿš€ Fast CLI to create modern React 19 apps with TanStack Router, Hono API, TypeScript, and AI. Alternative to create-react-app with full-stack features.

Readme

create-tanstack-hono-start ๐Ÿš€

The fastest way to create modern React 19 full-stack applications

A lightning-fast CLI that scaffolds production-ready apps with React 19, TanStack Router, Hono API, TypeScript, and AI integration. Perfect alternative to create-react-app with full-stack capabilities built-in.

npm version npm downloads

Why This CLI?

โœจ Zero Configuration - Works out of the box
๐Ÿš€ Full-Stack Ready - Frontend + Backend + AI in one command
โšก Lightning Fast - Powered by Vite and modern tooling
๐Ÿ”’ Type-Safe - End-to-end TypeScript with runtime validation
๐Ÿ“ฑ Modern React 19 - Latest features and performance
๐Ÿค– AI-First - Built-in AI assistant and chat capabilities

Features

  • โš›๏ธ React 19 with the newest features and performance improvements
  • ๐Ÿ›ฃ๏ธ TanStack Router for type-safe, file-based routing
  • โšก Hono OpenAPI - Ultra-fast backend with automatic API docs
  • ๐Ÿค– Mastra AI integration for intelligent applications
  • ๐Ÿ”’ End-to-end type safety with Zod schemas
  • ๐Ÿ”„ React Query for server state management
  • ๐ŸŽจ Tailwind CSS for beautiful, responsive designs
  • ๐Ÿ“ TypeScript throughout the entire stack
  • ๐Ÿ“š Auto-generated API docs with Swagger UI
  • ๐Ÿ”ง DevX optimized with hot reload and instant feedback

Quick Start

# Create a new project (fastest way)
npx create-tanstack-hono-start my-awesome-app

# Or with npm
npm create tanstack-hono-start my-awesome-app

# Or with yarn
yarn create tanstack-hono-start my-awesome-app

# Or with pnpm
pnpm create tanstack-hono-start my-awesome-app

Why choose this over create-react-app? Get a full-stack application with backend API, TypeScript, AI integration, and modern tooling in seconds - not hours of setup!

What's Included

Frontend (React 19 + TanStack Router)

  • Modern React 19 with latest features
  • Type-safe routing with TanStack Router
  • Beautiful UI components with Tailwind CSS
  • React Query for data fetching and caching
  • Full TypeScript support

Backend (Hono + OpenAPI)

  • Ultra-fast Hono web framework
  • OpenAPI/Swagger documentation
  • Zod schemas for runtime validation
  • Type-safe API endpoints
  • CORS and middleware support

AI Integration (Mastra)

  • Built-in AI assistant capabilities
  • Ready-to-use chat endpoints
  • Context-aware responses
  • Easy integration with your app logic

Generated Project Structure

my-awesome-app/
โ”œโ”€โ”€ apps/
โ”‚   โ”œโ”€โ”€ web/          # React frontend
โ”‚   โ””โ”€โ”€ api/          # Hono backend
โ”œโ”€โ”€ package.json      # Workspace configuration
โ””โ”€โ”€ README.md         # Project documentation

API Documentation

Your generated project includes:

  • Swagger UI at http://localhost:8000/ui
  • OpenAPI spec at http://localhost:8000/doc
  • Type-safe API client with runtime validation

Development

# Start the development servers
npm run dev

# Frontend: http://localhost:3000
# Backend: http://localhost:8000
# API Docs: http://localhost:8000/ui

Available Endpoints

  • GET /api/users - User management
  • POST /api/users - Create users
  • POST /api/ai/chat - AI assistant
  • GET /api/health - Health check

Popular Use Cases

  • ๐Ÿข Enterprise Apps - Full-stack apps with type safety
  • ๐Ÿ›’ E-commerce - Product catalogs with AI recommendations
  • ๐Ÿ“Š Dashboards - Analytics with real-time data
  • ๐Ÿค– AI Apps - Chat interfaces and intelligent features
  • ๐Ÿ“ฑ SaaS Products - Multi-tenant applications
  • ๐ŸŽฎ Interactive Apps - Real-time features and animations

Comparison

| Feature | create-react-app | Vite | create-tanstack-hono-start | |---------|------------------|------|-----------------------------| | Setup Time | 5-10 min | 2-5 min | 30 seconds | | Backend Included | โŒ | โŒ | โœ… Full API | | TypeScript Setup | Manual | Manual | โœ… Pre-configured | | AI Integration | โŒ | โŒ | โœ… Built-in | | API Documentation | โŒ | โŒ | โœ… Auto-generated | | Type-Safe Routing | โŒ | โŒ | โœ… TanStack Router |

Contributing

We welcome contributions! Please see our Contributing Guide.

License

MIT ยฉ create-tanstack-hono-start


โญ If this helps you build awesome apps, please star the repo! โญ