node package manager

generator-loopback-module

generator-loopback-module

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 climate.

Install

npm install -g generator-loopback-module

Usage

yo loopback-module

Answer the generator questions and you will have generated module structure for loopback. Enjoy!