expressdi
v1.0.0
Published
light simple dependency injection for node.js
Downloads
1
Maintainers
Readme
expressDI
expressDI ist a leightweight dependency injector written in ES2015 for small to medium sized node.js projects.
Use with Node.js and installable via npm install expressDI
,
expressDI is installable via:
- npm:
npm install expressDI
This script works with Node.js, AMD / RequireJS and directly via script tag.
Quick Examples
var options = {
root: __dirname,
directories: ['app'],
debug: true,
ignoreFiles: ['_spec'],
autoInjects: ['Controller', 'Middleware']
};
var di = expressDI.di(options);
di.run()
.then(function() {
// App is running.
});
ExpressJS Example
Feedback and Questions
You have two options two give feedback:
Feedback
If you have any questions, feel free to open an issue.