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() {
});
ExpressJS Example
Feedback and Questions
You have two options two give feedback:
- Open issues or pullrequests on github
- Comment the official release post, unfortunatly in German.
Feedback
If you have any questions, feel free to open an issue.