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-structure

v1.0.2

Published

Instant modern folder scaffolding for React Native & Expo

Downloads

465

Readme

🚀 create-rn-structure

The Ultimate Zero-Friction React Native & Expo Scaffolding Engine.

npm version Downloads License: MIT

Stop wasting 45 minutes manually creating folders, writing boilerplate, and installing Redux every time you start a new app.


🛑 Wait. Are you still building folder structures by hand?

Every time you initialize a new React Native or Expo project, you spend precious time deleting default files, creating src/components, setting up your state management, typing your hooks, configuring your routes, and waiting for dependencies to install.

Top-tier engineers don't write boilerplate. They automate it.

create-rn-structure is a lightning-fast, state-aware CLI that instantly transforms your empty directory into a production-ready, enterprise-grade architecture in under 5 seconds.


📸 See it in action

Terminal UI Demo


⚡ Instant Quick Start (Zero Config)

No global installations. No messy dependencies. Just run this command at the root of your fresh React Native or Expo project:

npx create-rn-structure

🔥 Why This is a Total Game Changer

This isn't just a script that creates empty folders. It is a highly intelligent generation engine that injects fully-typed, production-ready code directly into your project.


🧠 1. Smart Auto-Installer (It reads your mind)

Selected Redux Toolkit but forgot to install it? No problem. The CLI reads your package.json. If you are missing required libraries for your chosen stack, it installs them for you automatically in the background. If you already have them, it skips the download instantly to save you time.


🗺️ 2. Modern Navigation Native

Whether you are building a legacy app or looking to the future, we have you covered out of the box:

  • Expo Router: Automatically generates the modern app/ directory layout for file-based routing.
  • React Navigation: Generates a fully typed Routes.ts enum and traditional screen structures.

🏦 3. Enterprise State Management

Choose your weapon. The CLI instantly wires up the boilerplate, types, and hooks for the industry's most powerful state managers:

  • Redux Toolkit: Generates a pre-configured store.ts and strongly-typed userSlice.ts.
  • Zustand: Drops in a lightweight, hook-based useAppStore.ts.
  • MobX: Generates an observable, class-based RootStore.ts.
  • Context API: Creates a native AppContext.tsx with pre-built provider wrappers.

💣 4. The "Value Bomb" Templates (No Empty Folders!)

Empty folders are useless. We populate your new architecture with high-value, reusable TypeScript assets so you never start from zero:

  • ✅ A fully styled, typed <Button /> component.
  • ✅ A highly useful useToggle custom hook.
  • ✅ An api.ts fetch wrapper for your network requests.
  • ✅ A global Colors.ts constants file with Dark Mode support built-in.

🏗️ What It Builds

Here is a glimpse of the clean, scalable architecture generated instantly on your machine:

Terminal UI Demo

your-app/
├── 📁 app/                 <-- (If using Expo Router)
├── 📁 src/
│   ├── 📁 assets/
│   │   ├── 🖼️ images/
│   │   └── 🔤 fonts/
│   ├── 📁 components/
│   │   └── 📁 common/
│   │       └── ⚛️ Button.tsx (Fully Typed!)
│   ├── 📁 constants/
│   │   └── 🎨 Colors.ts (Dark Mode Ready)
│   ├── 📁 hooks/
│   │   └── 🪝 useToggle.ts
│   ├── 📁 navigation/      <-- (If using React Navigation)
│   │   └── 🗺️ Routes.ts
│   ├── 📁 services/
│   │   └── 🌐 api.ts
│   ├── 📁 store/           <-- (Pre-configured RTK, Zustand, Context, or MobX!)
│   └── 📁 utils/
│       └── 🛠️ formatters.ts

📸 The Result

A clean, scalable, enterprise-grade React Native architecture generated instantly so you can focus on building features instead of wasting time on repetitive setup.


🤝 Contributing

Love this tool? Want to add a new state manager or template? Pull requests are highly welcome!