Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expressdi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expressdi

light simple dependency injection for node.js

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 02 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc