0.2.0 • Published 7 months ago

simple-mdi v0.2.0

Weekly downloads
91
License
Apache 2
Repository
github
Last release
7 months ago

Simple DI for Node

Description

Supports multiple modes, you can keep main configuration on one mode but for testing(or environment dependent features) have another mode with limited number of dependencies which will override the ones from first mode.

DI container will search for a requested dependency in configured mode and will look in other mod's configurations in case if requested dependency will not be found.

Usage example:

node sample.js

Installation

npm install -s simple-mdi

Running tests

npm test
0.2.0

7 months ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago