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

react-native-maker

v1.1.6

Published

A powerful CLI tool to quickly scaffold React Native project structures with customizable folder layers.

Readme

React Native Project Scaffolder 🚀

Overview

This is a powerful CLI tool for scaffolding React Native projects with a comprehensive, opinionated project structure. It helps developers quickly set up a well-organized React Native application with optional configurations for navigation, state management, and storage.

image image

Features

Project Structure Creation

The scaffolder creates a robust, scalable project structure with carefully organized directories:

project-root/
│
├── src/
│   ├── assets/
│   │   ├── fonts/
│   │   ├── icons/
│   │   │   ├── BottomTabIcons/
│   │   │   ├── imageIcons/
│   │   │   └── svgIcons/
│   │   └── images/
│   │       ├── PngAndJpgImages/
│   │       ├── SvgImages/
│   │       └── OtherImages/
│   │
│   ├── components/
│   │   ├── global/      # Reusable global components
│   │   └── forms/       # Form-related components
│   │
│   ├── constants/       # Application-wide constants
│   │
│   ├── context/         # React Context providers
│   │
│   ├── features/        # Feature-based screens
│   │   ├── auth/
│   │   ├── dashboard/
│   │   ├── settings/
│   │   └── chat/
│   │
│   ├── i18n/            # Internationalization
│   │   └── locales/
│   │
│   ├── navigation/      # Navigation setup
│   │
│   ├── service/         # API services
│   │
│   ├── store/           # State management
│   │
│   ├── styles/          # Common styles
│   │
│   ├── theme/           # Theme configurations
│   │
│   ├── types/           # TypeScript types
│   │
│   └── utils/           # Utility functions
│
└── tsconfig.json

Interactive Configuration Options

When you run the scaffolder, you'll be prompted with several configuration choices:

  1. Bottom Tab Navigation

    • Opt to set up a bottom tab navigation structure
    • Creates dedicated navigation files and icon directories
  2. Storage Solution Choose from:

    • Async Storage
    • React Native MMKV
    • None
  3. Navigation Setup

    • Comprehensive navigation structure with navigation references
  4. State Management Choose from:

    • Redux Toolkit
    • Zustand
    • Context API
    • None

Installation And Direct Usage (Required step) ✅

Uses

Dependencies (Install it globaly)

  • fs-extra
  • path
  • chalk
  • inquirer
  • @react-native/typescript-config
# Navigate to your project directory
yarn add babel-plugin-module-resolver --dev
# Run the scaffolder
npx react-native-maker

Now create babel.config.js (root dir)

and copy and paste these code in that file:

module.exports = {
  presets: ['module:@react-native/babel-preset'],
 
  plugins: [
    [
      'module-resolver',
      {
        root: ['./src'],
        alias: {
          "@assets": './src/assets',
          "@features": './src/features',
          "@navigation": './src/navigation',
          "@components": './src/components',
          "@state": './src/state',
          "@store": './src/store',
          "@service": './src/service',
          "@styles": './src/styles',
          "@utils": './src/utils',
          "@i18n": './src/i18n',
          "@theme": './src/theme',
          "@types": './src/types',
          "@constants": './src/constants',
          "@context": './src/context',
          "@hooks": './src/hooks',
        }
      }
    ],
  // other pluging you can add here 
  ]
};

Remember that it will modify you tsconfig.json file also. 👶

Easy Command to create

All folder are created, now you can modify files and folder its create typescript files which you may change or delete

Configurations Created

Storage Utilities

  • Async Storage Utility
  • MMKV Storage Utility
    • Includes methods for:
      • Setting items
      • Getting items
      • Deleting items
      • Clearing storage

Navigation

  • Root Navigator setup
  • Navigation reference for programmatic navigation
  • Methods for:
    • Navigating to routes
    • Going back
    • Resetting navigation stack

State Management

Depending on your choice:

  • Redux Toolkit: Configured store with example slice
  • Zustand: Basic store with increment/decrement example
  • Context API: Provider with example state management

TypeScript Configuration

  • Predefined path aliases
  • Type root configurations
  • Jest type support

Recommended Next Steps

  1. Install dependencies
  2. Configure any additional libraries
  3. Customize generated files
  4. Start building your app!

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License

Troubleshooting

  • Ensure you have the latest version of Node.js
  • Check that all peer dependencies are installed
  • Verify React Native CLI is set up correctly

Support

For issues or questions, please file an issue on our GitHub repository.