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-rn-trpc

v1.0.2

Published

CLI tool to create React Native apps with tRPC, TypeScript, and React Native Reusables

Readme

🚀 Create React Native + tRPC

Version License Downloads

The fastest way to create React Native apps with tRPC, TypeScript, and modern tooling ⚡️


✨ Features

🎯 Zero Config Setup - Get started in seconds, not hours
🚀 Modern Stack - tRPC, TypeScript, Expo Router, and more
🎨 Beautiful UI - Pre-configured NativeWind + React Native Reusables
📱 Cross Platform - iOS, Android, and Web support out of the box
🌙 Dark Mode Ready - Beautiful themes included
⚡️ Type Safety - End-to-end type safety with tRPC
🔧 Developer Experience - Hot reload, debugging, and more


🚀 Quick Start

Interactive Mode

npx create-rn-trpc

Direct Usage

npx create-rn-trpc my-awesome-app

That's it! Your React Native + tRPC app is ready to go! 🎉


📋 Usage Options

# Create with specific package manager
npx create-rn-trpc my-app --package-manager yarn
npx create-rn-trpc my-app --package-manager pnpm
npx create-rn-trpc my-app --package-manager bun

# Skip dependency installation (install manually later)
npx create-rn-trpc my-app --skip-install

# Get help
npx create-rn-trpc --help

🎯 What You Get

Your generated project includes everything you need to build modern React Native apps:

🏗️ Core Framework

  • ⚛️ React Native - Cross-platform mobile development
  • 🧭 Expo Router - File-based routing for React Native
  • 📱 Expo SDK - Access to native APIs and services

🔄 API & State Management

  • 🚀 tRPC - End-to-end typesafe APIs
  • 🔄 React Query - Powerful data synchronization
  • 🔗 SuperJSON - Automatic serialization

🎨 Styling & UI

  • 🎨 NativeWind - Tailwind CSS for React Native
  • 🧩 React Native Reusables - Beautiful, accessible components
  • 🌙 Dark/Light Themes - Built-in theme switching
  • 📐 Responsive Design - Mobile-first approach

🛠️ Developer Experience

  • TypeScript - Full type safety
  • 🌐 Environment Variables - Type-safe env with T3 Env
  • 📦 Modern Bundling - Metro bundler optimized
  • 🔍 ESLint & Prettier - Code quality tools

📁 Project Structure

my-app/
├── app/                 # Expo Router pages
│   ├── api/trpc/       # tRPC API routes
│   ├── _layout.tsx     # Root layout
│   └── index.tsx       # Home page
├── components/ui/       # Reusable UI components
├── server/             # tRPC server setup
│   ├── api/           # API routers
│   └── trpc/          # Client configuration
├── lib/               # Utilities
└── assets/            # Images and static files

🎬 CLI Preview

When you run npx create-rn-trpc, you'll see:

  ╔══════════════════════════════════════╗
  ║    🚀 Create React Native + tRPC    ║
  ║    TypeScript • Expo • React Query   ║
  ╚══════════════════════════════════════╝

📝 Let's set up your new React Native + tRPC project!

🏷️  What would you like to name your project? my-awesome-app
🎯 Creating React Native + tRPC project: my-awesome-app

✔ 📁 Project directory created
✔ 📋 Template files copied
✔ ⚙️  Project configuration updated
✔ 📦 Dependencies installed with npm

🎉 Project created successfully!

🚀 Next steps:
   1. cd my-awesome-app
   2. npm run dev

� What's included:
   • React Native with Expo
   • tRPC for type-safe APIs
   • React Query for data fetching
   • TypeScript configuration
   • NativeWind for styling
   • React Native Reusables UI components

Happy coding! 🚀✨

🚀 Getting Started

After creating your project:

1. Navigate to your project

cd my-awesome-app

2. Start the development server

npm run dev
# or yarn dev / pnpm dev / bun dev

3. Open in your preferred platform

  • 📱 iOS: Press i in the terminal or scan QR code with Camera app
  • 🤖 Android: Press a in the terminal or scan QR code with Expo Go
  • 🌐 Web: Press w in the terminal or open http://localhost:8081

📖 Learn More

🔗 tRPC Resources

⚛️ React Native Resources

🎨 Styling Resources


🛠️ Development

Want to contribute or modify the CLI tool?

Setup

# Clone the repository
git clone https://github.com/your-username/create-rn-trpc.git
cd create-rn-trpc

# Install dependencies
npm install

# Build the CLI
npm run build

# Test locally
npm link
create-rn-trpc test-project

# Clean up
npm unlink

Commands

npm run build      # Build TypeScript
npm run dev        # Watch mode for development
npm run publish    # Build and publish to npm

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Areas for Contribution

  • 🐛 Bug fixes and improvements
  • 📚 Documentation enhancements
  • ✨ New features and templates
  • 🧪 Tests and quality assurance

📄 License

MIT © Your Name


Made with ❤️ for the React Native community

Report BugRequest FeatureDocumentation