Skip to content

open-node/dm

Repository files navigation

@open-node/dm

Dependency Injection Manager for Node.js

Build status codecov

Installation

npm i @open-node/dm --save

Usage

const _ = require('lodash');
const DM = require('@open-node/dm');

const dm = DM(_);

const deps = {};
dm.auto(modules, deps, args);