react-outil
v0.0.20
Published
A CLI tool to generate React components (folders and files) & CSS-Modules files from the terminal that support typescript.
Downloads
2
Readme
React-Outil 🧪
<React Outil /> » A CLI Tool to Generate React Components ⚛️ & CSS-Modules Files From the Termianl.
Installation
> NPM
npm install -g react-outil
> PNPM
pnpm -g add react-outil
> Yarn
yarn add global react-outil
Introduction
"React-Outil" is an CLI (command line interface) tool to generate react-components, nextjs routes and CSS-Modules. The tool provides you with two main choices a Regular React Component or Nextjs Route. in Each choice you have other sub-choices like creating a CSS-Modules file, Sub-Components folder, choosing between typescript and javascript and choosing Function keyword VS Const for the components and routes.
Features
- Create reactjs components.
- Create nextjs routes.
- Create css-modules.
- Create Sub-components folder.
- Choose between typescript and javascript.
- Choosing Function keyword VS Const for the components and routes.
- For react components you can choose between single file component or Folder/File component (The component file is inside a folder).
Usage:
- Once installed globally, cd to the directory where you want to generate the components and type:
react-outil
If this didn't work try
npx react-outil
- You will be presented with the welcome screen and the first question.
For the updated docs: