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 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-react-next-app-latest

v0.0.3

Published

CLI tool to create React and Next.js apps

Downloads

9

Readme

React/Next.js Project Generator CLI

This CLI tool helps you quickly set up a new React or Next.js project based on your preferences. It guides you through a series of prompts to customize your project with options like Tailwind CSS, ESLint, state management, folder structure, and more. This tool is perfect for developers who want a streamlined and consistent setup process.

version :: 0.0.3

Features

  • React or Next.js: Choose between creating a React or Next.js project based on your needs.
  • ESLint and Prettier Integration: Option to include ESLint and Prettier for maintaining code quality and formatting.
  • Tailwind CSS: Easily integrate Tailwind CSS into your project for utility-first CSS styling.
  • State Management: Choose your preferred state management library (e.g., Redux, MobX).
  • Formik and Yup: Option to install Formik and Yup for form handling and validation.
  • Axios: Install Axios for making HTTP requests with ease.
  • Notification Component: Add a notification component using the Context API to display success and error messages.
  • Authentication Provider: Option to add an authentication provider context for handling user authentication.
  • Customizable Folder Structure: Choose a default folder structure for better project organization.
  • Public and Private Routes: Add functionality for managing public and private routes in your application.
  • Customizable AppBar: Set up a default AppBar with options to include a user avatar and custom page links.

Installation

To install this CLI tool globally, run the following command:

Option 1

npm install -g create-react-next-app-latest

Option 2

npx create-react-next-app-latest

Project Setup Prompts

When using this CLI tool, you'll be prompted to make the following choices for your project setup:

  1. Project Framework: Choose between React or Next.js
  2. Project Name: Enter your project's name
  3. Language: Select JavaScript or TypeScript
  4. UI Framework: Choose between Material UI, Tailwind CSS, or none
  5. ESLint: Option to include ESLint for code linting
  6. Prettier: Option to add Prettier for code formatting
  7. State Management: Choose a state management library (e.g., Redux,React-queary)
  8. Formik & Yup: Option to install Formik and Yup for form handling and validation
  9. Axios: Option to install Axios for HTTP requests
  10. Notification Component: Option to add a notification component using Context API
  11. Authentication Provider: Option to add an authentication provider context
  12. Default Folder Structure: Option to add a default React app folder structure
  13. App Router: Option to use App Router in Next.js projects
  14. src/ Directory: Option to organize files within a src/ directory
  15. Import Alias: Set a custom import alias (default: @/*)
  16. Package Manager: Choose between npm and yarn
  17. AppBar: Option to add a default AppBar with customizable name and user avatar
  18. Public and Private Routes: Option to add functionality for public and private routes
  19. Login Component: Option to add a login component to your project

These prompts will guide you through configuring your new project according to your preferences and requirements.

Contributing

Contributions are welcome! If you'd like to improve this CLI tool or add new features, feel free to submit a pull request. Make sure to follow the code style guidelines and include tests for any new functionality.