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

@ibi-dev/rn-init

v1.0.1

Published

Scaffold a production-ready React Native 0.86 app preconfigured with React Navigation, Redux Toolkit, Redux Saga and TypeScript.

Downloads

318

Readme

🚀 rn-init

Scaffold a production-ready React Native 0.86 application with React Navigation, Redux Toolkit, Redux Saga, Redux Persist, TypeScript, and a clean folder structure using a single command.

One command. Ready to code.

npx @ibi-dev/rn-init MyApp

✨ Features

  • ⚛️ React Native 0.86
  • 🔤 TypeScript configured
  • 🧭 React Navigation (Native Stack)
  • 🗃️ Redux Toolkit
  • ⚡ Redux Saga
  • 💾 Redux Persist
  • 🌐 Axios API service setup
  • 📂 Scalable folder structure
  • 🧹 ESLint & Prettier
  • 🧪 Jest configuration
  • 📱 Android & iOS project auto-renaming
  • 🌱 Git repository initialization
  • 📦 Supports npm, Yarn, and pnpm
  • 🍎 Automatically runs pod install on macOS

📋 Prerequisites

Before using rn-init, ensure your React Native development environment is configured.

Follow the official React Native setup guide:

https://reactnative.dev/docs/set-up-your-environment

Recommended versions:

| Tool | Version | | -------------- | -------------- | | Node.js | 22.11+ | | Java (JDK) | 17 | | Android Studio | Latest | | Xcode | Latest (macOS) | | CocoaPods | Latest (macOS) |


🚀 Create a New Project

npx @ibi-dev/rn-init MyApp

That's it.

The CLI will automatically:

  • ✅ Create a new React Native project
  • ✅ Copy the starter template
  • ✅ Rename Android & iOS projects
  • ✅ Update Bundle Identifier
  • ✅ Install dependencies
  • ✅ Initialize Git
  • ✅ Run CocoaPods (macOS)

📦 After Creation

cd MyApp

npm start

npm run android

npm run ios

⚙️ CLI Options

| Option | Description | | ------------------------ | ---------------------------------- | | --skip-install | Skip dependency installation | | --skip-pods | Skip CocoaPods installation | | --no-git | Do not initialize a Git repository | | --use-npm | Use npm | | --use-yarn | Use Yarn | | --use-pnpm | Use pnpm | | --package-manager <pm> | Specify npm, yarn or pnpm | | -h, --help | Show help | | -v, --version | Show version |

Example:

npx @ibi-dev/rn-init MyApp --skip-install

Using Yarn:

npx @ibi-dev/rn-init MyApp --use-yarn

Using pnpm:

npx @ibi-dev/rn-init MyApp --use-pnpm

📁 Generated Folder Structure

MyApp/
├── android/
├── ios/
├── src/
│   ├── components/
│   ├── navigation/
│   ├── redux/
│   │   ├── sagas/
│   │   ├── slices/
│   │   └── store.ts
│   ├── screens/
│   ├── services/
│   └── utils/
├── App.tsx
├── app.json
├── index.js
├── package.json
└── tsconfig.json

🔄 Automatic Configuration

During project generation, rn-init automatically:

  • Renames the React Native application
  • Renames the Android package
  • Renames the iOS project
  • Updates the Bundle Identifier
  • Updates the Display Name
  • Updates package.json
  • Installs dependencies
  • Initializes Git
  • Runs pod install (macOS)

No manual configuration is required.


🛠️ Troubleshooting

Project directory already exists

Choose another project name or delete the existing directory.

Invalid project name

Examples of valid names:

MyApp
my-app
awesome-app

Avoid spaces and special characters.

Dependency installation failed

Run manually:

npm install

inside the generated project.

CocoaPods failed

cd ios
pod install
cd ..

🤝 Contributing

Contributions are welcome!

  1. Fork the repository.
  2. Create a feature branch.
  3. Test the CLI locally.
node bin/index.js DemoApp --skip-install

or

npm link
rn-init DemoApp
  1. Run:
npm pack --dry-run

to verify the package contents.

  1. Submit a Pull Request.

📄 License

MIT License


🌟 Support

If you find rn-init useful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting issues
  • 💡 Suggesting new features
  • 🤝 Contributing improvements

GitHub Repository:

https://github.com/ibrahimpc/npm-rn-starter

npm Package:

https://www.npmjs.com/package/@ibi-dev/rn-init

Happy coding! 🚀