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

@funtools/create-react-native-app

v2.0.2

Published

Create a React Native app with preconfigured setup

Readme

@funtools/create-react-native-app

Version License Node

⚠️ Version Requirement: Please use version 2.0.0 or higher for the best experience and latest features.

A professional CLI tool to quickly scaffold a production-ready React Native app with a modern, preconfigured tech stack. No more time wasted on boilerplate setup—just run one command and start building your app!


✨ Features

  • 🚀 Quick Setup - Creates a fully configured React Native app in seconds
  • 📱 Modern Stack - Built on the latest React Native and React versions
  • 🎨 Styled Out of the Box - Preconfigured with NativeWind (Tailwind CSS for React Native)
  • 🧭 Navigation Ready - React Navigation already integrated and configured
  • 📦 State Management - Includes @funtools/store for efficient state handling
  • 🎯 TypeScript First - Full TypeScript support with proper configuration
  • 🎨 Icon Library - Lucide React Native icons included
  • 🧪 Testing Setup - Jest configured and ready for unit tests
  • 🔧 Code Quality Tools - ESLint and Prettier preconfigured
  • 📁 Module Resolution - Babel module resolver for clean imports

📋 Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js >= 20 (Download)
  • npm or yarn (comes with Node.js)
  • Android Studio (for Android development)
  • Xcode >= 12 (for iOS development on macOS)
  • React Native CLI (installed automatically)

📦 Installation

Option 1: Use with npx (Recommended)

You can use this tool without installing it globally:

npx @funtools/create-react-native-app@latest

Note: Using @latest ensures you always get version 2.0.0 or higher.

Option 2: Global Installation

Install the package globally for repeated use:

npm install -g @funtools/create-react-native-app@latest

Then run it anywhere:

create-react-native-app

🚀 Usage

Quick Start

Simply run the command and follow the interactive prompts:

npx @funtools/create-react-native-app@latest

You'll be prompted to enter your app name.

App Name Requirements

Your app name must follow these rules:

  • ✅ Start with an uppercase letter
  • ✅ Contain only letters and numbers (no spaces, hyphens, or special characters)
  • ❌ Examples of invalid names: my-app, my_app, myApp, 123App
  • ✅ Examples of valid names: MyApp, MyAwesomeApp, ReactApp123

Example Session

$ npx @funtools/create-react-native-app@latest
Welcome to @funtools
Thanks for using @funtools/create-react-native-app
? What is your app name? › MyAwesomeApp
🚀 Initializing React Native app: MyAwesomeApp
Initializing templates...
Installing dependencies...
Installing dev dependencies...
Remove @react-native/new-app-screen
✅ App setup complete

📦 What's Included

Your new React Native app comes fully configured with a modern tech stack:

Core Dependencies

| Package | Version | Purpose | | ---------------------------------- | ------- | ----------------------------- | | React | Latest | UI library | | React Native | Latest | Mobile framework | | @react-navigation/native | Latest | Navigation framework | | @react-navigation/native-stack | Latest | Stack navigator | | NativeWind | Latest | Tailwind CSS for React Native | | @funtools/store | Latest | State management | | Lucide React Native | Latest | Icon library | | React Native SVG | Latest | SVG support | | React Native Gesture Handler | Latest | Touch gesture handling | | React Native Safe Area Context | Latest | Safe area support | | React Native Screens | Latest | Native navigation primitives |

Development Tools

| Tool | Purpose | | -------------------------------- | ------------------------------- | | TypeScript | Type safety and better DX | | ESLint | Code linting and quality checks | | Prettier | Code formatting | | Jest | Unit testing framework | | Babel | JavaScript compiler | | babel-plugin-module-resolver | Clean import paths | | Tailwind CSS | Utility-first CSS framework |


🏁 Getting Started with Your New App

After creating your app, navigate to the directory and start developing:

# Navigate to your app directory
cd MyAwesomeApp

# Install any additional dependencies (if needed)
npm install

# Start the Metro bundler
npm start

Run on Different Platforms

# Run on Android (requires Android Studio and emulator/device)
npm run android

# Run on iOS (requires Xcode and simulator/device - macOS only)
npm run ios

Development Commands

# Run tests
npm test

# Run tests in watch mode
npm test -- --watch

# Lint your code
npm run lint

# Type check with TypeScript
npx tsc --noEmit

# Start Metro bundler with cache reset
npm start -- --reset-cache

📁 Project Structure

MyAwesomeApp/
├── android/                 # Android native code and configuration
├── ios/                     # iOS native code and configuration
├── src/                     # Your app source code (components, screens, etc.)
├── node_modules/            # Installed dependencies
├── .git/                    # Git repository
├── .gitignore               # Git ignore configuration
├── App.tsx                  # Main app component (removed by @funtools)
├── index.js                 # Entry point
├── package.json             # Project metadata and dependencies
├── tsconfig.json            # TypeScript configuration
├── tailwind.config.js       # Tailwind CSS configuration
├── babel.config.js          # Babel configuration
├── metro.config.js          # Metro bundler configuration
├── jest.config.js           # Jest testing configuration
├── .eslintrc.js             # ESLint configuration
├── .prettierrc              # Prettier configuration
└── README.md                # Project documentation

🔧 Configuration

TypeScript

TypeScript is preconfigured with React Native types and strict mode. Configuration can be found in tsconfig.json.

ESLint & Prettier

Code quality tools are set up with React Native best practices. Run npm run lint to check your code.

Tailwind CSS / NativeWind

NativeWind is configured and ready to use. You can use Tailwind utility classes directly in your React Native components:

<View className="flex-1 items-center justify-center bg-blue-500">
    <Text className="text-white text-2xl font-bold">Hello World</Text>
</View>

Module Resolution

Babel module resolver is configured for clean imports. You can customize path aliases in babel.config.js.


❓ Troubleshooting

App Name Validation Error

Error: App name must start with an uppercase letter and contain only letters and numbers

Solution: Ensure your app name:

  • Starts with an uppercase letter (e.g., MyApp, not myApp)
  • Contains only letters and numbers (no spaces, hyphens, underscores, or special characters)

Dependencies Installation Fails

Error: npm install fails or packages have conflicts

Solution: Try clearing npm cache and reinstalling:

# Clear npm cache
npm cache clean --force

# Remove node_modules and lock file
rm -rf node_modules package-lock.json

# Reinstall dependencies
npm install

Windows users: Use rmdir /s /q node_modules and del package-lock.json instead.

Metro Bundler Issues

Error: Metro bundler shows stale cache errors

Solution: Reset the Metro bundler cache:

# Start with cache reset
npm start -- --reset-cache

# Or manually clear cache
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-*

Android Build Errors

Common issues:

  • Ensure Android Studio is installed
  • Set up ANDROID_HOME environment variable
  • Accept all SDK licenses: sdkmanager --licenses
  • Use JDK 17 (React Native 0.73+)

iOS Build Errors (macOS only)

Common issues:

  • Ensure Xcode is installed and up to date
  • Install CocoaPods: sudo gem install cocoapods
  • Run pod install in the ios/ directory
  • Clean build folder in Xcode: Product > Clean Build Folder

Version-Specific Issues

If you're using an older version:

Ensure you're using version 2.0.0 or higher:

# Check installed version
npm ls -g @funtools/create-react-native-app

# Update to latest version
npm install -g @funtools/create-react-native-app@latest

# Or use npx with @latest tag
npx @funtools/create-react-native-app@latest

🤝 Contributing

Contributions are welcome! If you'd like to improve this project:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


💬 Support

Having issues or questions?

  • 🐛 Report bugs: Open an issue on the GitHub repository
  • 💡 Feature requests: Submit an issue with the enhancement label
  • 📧 General questions: Open a discussion on GitHub

🙏 Acknowledgments


🔗 Useful Links


Happy coding! 🚀

Made with @funtools/create-react-native-app v2.0.0+