0.0.1 • Published 7 years ago
loaded-module v0.0.1
loaded-module / under development
About
Include modules relative path to your application in nodejs.
Install
$ sudo npm i -S https://github.com/renanbastos93/loaded-module.git
Getting Start
require('loaded-module'); // Import module into the main file, and then use it anywhere in the project.
Example
//Controller wants to use the service, then enter the path
var service = loadedModule('service'); // Return all services
var serviceUnique = loadedModule('service/unique'); // Return services unique
0.0.1
7 years ago