controller-generator
v1.2.0
Published
node api controller generator
Downloads
12
Readme
Nodejs api Controller generator. It basically auto generates the controller directory and files prefilled with functions for the developer.
Guide to using locally in your project
In your project directory, run npm install controller-generator OR yarn add controller-generator
Add the following to scripts in your package.json
"controller-generate": "controller-generate"
Run the following command:
npm run controller-generate name1 name2 name3
Where the 'names' refer to names you want to give to your controller(s).
Guide to using globally
run npm install -g controller-generator OR yarn global add controller-generator
Run the following command: