Giter Club home page Giter Club logo

nextrate's Introduction

๐Ÿฆ„ 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 nextrate
  • Installing it as a dev dependency:

    npm install nextrate --save-dev
  • Trying it out using npx:

    npx nextrate

๐Ÿ”Œ Usage

  • nextrate generate

  • nextrate boilerplate

  • nextrate help [COMMAND]

    nextrate generate

    ๐Ÿ‘€ Generate a new Next.js component using nextrate

    USAGE
    $ nextrate generate
    
    DESCRIPTION
    ๐Ÿ‘€ Generate a new Next.js component using nextrate

    nextrate 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=components

    nextrate 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:

![](https://img.shields.io/badge/using-nextrate%20%F0%9F%A6%84-blue?style=for-the-badge)

๐Ÿ“ License

Copyright ยฉ 2022 Kira.
This project is MIT licensed.

nextrate's People

Contributors

0xmukesh avatar dependabot[bot] avatar snyk-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.