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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-tanstack-boilerplate

v1.0.22

Published

The ultimate CLI to scaffold production-ready TanStack Start applications. Features interactive setup for Vite, React 19, TailwindCSS, i18n, Form Management, Validation, and more. Get started with a scalable full-stack React framework in seconds.

Readme

🚀 Create TanStack Boilerplate

A fast, production-ready CLI to scaffold TanStack Start applications (React + Vite + TypeScript + Tailwind). Use this tool to generate opinionated, scalable starters with optional i18n, Form Management, Validation, UI, Cloudflare Deployment, and testing presets — perfect for teams and projects that need a solid default stack.

npm version License: MIT Issues

🚀 Quick Start

NPM

npx create-tanstack-boilerplate

PNPM

pnpm create tanstack-boilerplate

Yarn

yarn create tanstack-boilerplate

🎯 What You Get

The CLI will guide you through:

  1. Project name - Name of your new project

  2. Package manager - Choose between pnpm, npm, or yarn

  3. Features - Select which features you want:

    • 🌍 Internationalization (i18n)
    • 🎨 UI Components (Radix UI + Tailwind)
    • ⚡ State Management (Jotai)
    • 📋 Form Management (TanStack Form)
    • 🛡️ Validation (Zod/ArkType)
    • 🎭 Animations (Framer Motion)
    • ✅ Testing (Vitest)
    • 🎯 Code Quality (Biome + Husky)
    • ☁️ Cloudflare Deployment (Workers)
  4. Languages (if i18n selected) - Choose which languages to support

  5. Base locale (if i18n selected) - Set your default language

  6. Git initialization - Initialize a git repository

📸 Example

$ npx create-tanstack-boilerplate

🚀 Create TanStack Start Boilerplate

✔ Project name: … my-awesome-app
✔ Select a package manager: › pnpm
✔ Select features to include: › i18n, ui, quality
✔ Select languages to support: › en, vi
✔ Select base/default language: › en
✔ Initialize git repository? … yes

📦 Creating project structure...

✓ Project created successfully!

Next steps:

  cd my-awesome-app
  pnpm install
  pnpm dev

📁 Project Structure

my-app/
├── src/
│   ├── routes/              # TanStack Router routes
│   ├── components/          # React components
│   ├── lib/                 # Utility libraries
│   ├── styles/              # Global styles
│   └── ...
├── messages/                # i18n translations (if selected)
├── tests/                   # Test files (if selected)
└── ...

See EXAMPLES.md for detailed structure examples.

🛠️ Tech Stack

Core (Always Included)

  • TanStack Start - Full-stack React framework
  • ⚛️ React 19 - Latest React
  • 🔄 TanStack Router - Type-safe routing
  • 🔍 TanStack Query - Data fetching & caching
  • 📦 Vite - Lightning-fast build tool
  • 🎯 TypeScript - Type safety

Optional Features

See EXAMPLES.md for detailed feature descriptions and usage examples.

🧪 Development

Local Testing

# Clone the repo
git clone <your-repo>
cd create-tanstack-boilerplate

# Install dependencies
pnpm install

# Test locally
node index.js

# Or link globally
npm link
create-tanstack-boilerplate

See TESTING.md for comprehensive testing guide.

Publishing

Quick publish (for maintainers):

npm login
npm publish

🤝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md for details.

Quick Contribution Guide

  1. Fork the repo
  2. Create your feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📝 License

MIT - See LICENSE file for details.

🙏 Credits

Built with ❤️ using:

📊 Stats

  • Package Size: ~25KB
  • Dependencies: Minimal (prompts, kolorist, changesets)
  • Node Version: >=18.0.0
  • License: MIT

Happy coding! 🚀

Made with ❤️ by the community

Links

  • NPM Package: https://www.npmjs.com/package/create-tanstack-boilerplate
  • GitHub Repository: https://github.com/phuocAnonydev14/create-tanstack-boilerplate
  • Issue Tracker: https://github.com/phuocAnonydev14/create-tanstack-boilerplate/issues