Module generation for loopback framework
|-- ModuleName
|-- controllers.js
|-- hooks.js
|-- index.js
|-- methoods.js
Main idea of generator - separation module code into files divided by functionality to avoid long files and cleaner code.
npm install -g generator-loopback-module
yo loopback-module
Answer the generator questions and you will have generated module structure for loopback. Enjoy!