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-next-gen-react

v1.0.3

Published

A CLI to setup a professional React app structure

Readme

🚀 Create Next Gen React

npm version license downloads

The ultimate CLI for setting up professional, scalable, and production-ready React applications with a single command.

Create Next Gen React is a powerful command-line interface (CLI) designed to bootstrap React projects with a professional folder structure and best-practice configurations out of the box. Whether you prefer Vite or Create React App, JavaScript or TypeScript, Redux or Context API, this tool has you covered.

✨ Features

  • 🏗 Professional Architecture: Automatically sets up a scalable folder structure (components, hooks, services, store, utils, etc.).
  • Modern Stack Support: Choose between Vite (recommended) or Create React App.
  • 🟦 TypeScript Ready: First-class support for TypeScript.
  • 🎨 Tailwind CSS Integration: One-click setup for Tailwind CSS (supports both Vite v4+ and CRA v3).
  • 🔄 State Management: Optional Redux Toolkit setup with pre-configured store and provider.
  • 📦 Essential Libraries: Pre-installs common professional dependencies:
    • react-router-dom (Routing)
    • axios (API requests)
    • classnames (Utility for conditional classes)
  • 🚀 Ready to Code: Includes boilerplate components and examples to get you started immediately.

📦 Installation

You don't need to install it globally! Just use npm create:

npm create next-gen-react@latest

Or if you prefer to install it globally:

npm install -g create-next-gen-react
create-next-gen-react

🚀 Usage

Run the command and follow the interactive prompts:

npm create next-gen-react

You will be asked:

  1. Project Name: What do you want to call your app?
  2. Language: JavaScript or TypeScript?
  3. State Management: Do you need Redux Toolkit?
  4. Build Tool: Vite (Fast & Modern) or Create React App (Classic)?
  5. Styling: Do you want to set up Tailwind CSS?

Example Output Structure

my-pro-app/
├── src/
│   ├── assets/          # Images, icons, global styles
│   ├── components/      # Reusable UI components
│   │   ├── common/      # Buttons, Inputs, Modals
│   │   ├── layout/      # Header, Footer, Sidebar
│   │   └── features/    # Feature-specific components
│   ├── config/          # App configuration (env vars, constants)
│   ├── context/         # React Context providers
│   ├── hooks/           # Custom React hooks
│   ├── layouts/         # Page layouts
│   ├── pages/           # Page components (Route targets)
│   ├── services/        # API services and Axios setup
│   ├── store/           # Redux store slices (if selected)
│   ├── styles/          # Global CSS/SCSS
│   ├── utils/           # Helper functions
│   ├── App.jsx
│   └── main.jsx
├── public/
├── package.json
├── vite.config.js       # or webpack config
└── README.md

🛠 Technologies Used

  • Inquirer.js - For interactive command-line prompts.
  • Chalk - For beautiful terminal styling.
  • Ora - For elegant terminal spinners.
  • Execa - For executing system commands.
  • FS-Extra - For file system operations.

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct, and the process for submitting pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some 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 ISC License.


Made with ❤️ by Tuwel Shaikh