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-auto-generator

v1.0.1

Published

A package generator of templates with react webpack and typescript

Readme

React Auto Generator

Version Beta

A React App CLI generator.

Create a new project in react with a simple command. Select wich template you like and get started and which features would you like it to have.

🛠️ Built With

  • Javascript, Typescript
  • React, Node

📥 Installation

You can use npx or install it globally

$ npm install -g react-auto-generator

⚡ Quick Start

Start by creating a full react app project with

$ react-auto-generator create
or
$ rag c

Add schematics to your project, such as functional components, redux or routers with

$ react-auto-generator generate
or
$ rag g

Or just create your project with those features configurated already with --use-redux or --use-reach-router

$ rag create --use-redux
or 
$ rag create --use-reach-router
or
$ rag create --use-redux --use-reach-router

📣 Commands

Create, c

Creates a new React App project, based on templates.

$ rag create <template> <name> <flags>
or
$ rag c <template> <name> <flags>

Generate, g

Generates and/or modifies files based on a schematic.

$ rag generate <schematic> <name> <flags>
or
$ rag g <schematic> <name> <flags>

Help, h

Lists available commands and their short descriptions.

$ rag help
or
$ rag h

🗂️ Templates

Basic

A starter React App with Typescript

$ rag create basic <name> <flags>
or
$ rag c basic <name> <flags>

📑 Schematics

Component, c

A Functional Component with its styles using styled-components.

$ rag generate component <name> <flags>
or
$ rag g component <name> <flags>

Reach-router, rr

A Functional Component with a @Reach/Router Router wrapper.

$ rag generate reach-router <name> <flags>
or
$ rag g reach-router <name> <flags>

Redux-component, rc

A reducer, actions and types file.

$ rag generate redux-component <name> <flags>
or
$ rag g redux-component <name> <flags>

Redux-slice, rs

A @reduxjs/toolkit slice file to insert in the rootReducer.

$ rag generate redux-slice <name> <flags>
or
$ rag g redux-slice <name> <flags>

Redux-config, rconf

A Redux store, rootReducer and personalized hooks, using @reduxjs/toolkit

$ rag generate redux-config <name> <flags>
or
$ rag g redux-config <name> <flags>

🎌 Option Flags

--use-redux

Initialize project with a redux starter configuration.

$ rag create <schematic> <name> --use-redux
or
$ rag c <schematic> <name> --use-redux

--use-reach-router

Initialize project with a @reach/router starter configuration.

$ rag create <schematic> <name> --use-reach-router
or
$ rag c <schematic> <name> --use-reach-router

--help

Lists Available Templates, Schematics, flags, or information about the params needed.

$ rag create <schematic> <name> --help
or
$ rag c <schematic> <name> --help

--install

Installs Schematics extra dependencies.

$ rag generate <schematic> <name> --install
or
$ rag g <schematic> <name> --install

Authors

👤 Author

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.