An open API service indexing awesome lists of open source software.

https://github.com/open-node/dm

Dependency Injection Manager for Node.js
https://github.com/open-node/dm

Last synced: 3 months ago
JSON representation

Dependency Injection Manager for Node.js

Awesome Lists containing this project

README

        

# @open-node/dm
Dependency Injection Manager for Node.js

[![Build status](https://travis-ci.com/open-node/dm.svg?branch=master)](https://travis-ci.org/open-node/dm)
[![codecov](https://codecov.io/gh/open-node/dm/branch/master/graph/badge.svg)](https://codecov.io/gh/open-node/dm)

# 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);