nextrate
v1.1.1
Published
π A CLI to quickly generate Next.js components
Downloads
16
Maintainers
Readme
π¦ nextrate
A CLI tool for quickly generating Next.js components.
β¨ Features
- Automatically add the file type to the component name using the folder name.
- Automatically adds the boilerplate code for components and pages.
- Helps you maintain a clean and consistent file naming convention.
π Installation
To install globally:
npm install -g nextrateInstalling it as a dev dependency:
npm install nextrate --save-devTrying it out using
npx:npx nextrate
π Usage
nextrate generateπ Generate a new Next.js component using nextrate
USAGE $ nextrate generate DESCRIPTION π Generate a new Next.js component using nextratenextrate boilerplateπ Customize the default nextrate boilerplate
USAGE $ nextrate boilerplate OPTIONS -f, --file=file (required) π¦ Path to the file which contains the boilerplate -t, --type=type (required) π Type of boilerplate, whether it is a boilerplate for 'components' or 'pages' EXAMPLE $ nextrate boilerplate -file=boilerplate.txt -type=componentsnextrate help [COMMAND]Display help for nextrate.
USAGE $ nextrate help [COMMAND] [-n] ARGUMENTS COMMAND Command to show help for. FLAGS -n, --nested-commands Include all nested commands in the output. DESCRIPTION Display help for nextrate.
π Demo

β Show your support
Give a βοΈ if this project helped you!
If you are using nextrate in your project, consider adding the below badge to your README.md:
π License
Copyright Β© 2022 Kira. This project is MIT licensed.
