expressdi

1.0.0 • Public • Published

expressDI

NPM version Build Status

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:

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

Package Sidebar

Install

npm i expressdi

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sfakir