1.0.0 • Published 8 years ago

expressdi v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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.