1.1.1 • Published 8 years ago

addict-ioc-nconf v1.1.1

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

addict-ioc-nconf

This package serves as a bridge to use nconf as a config provider for addict-ioc.

You just need to provide your instance of the addict-ioc container and nconf to the bridge package and it will automagically do the rest for you.

Usage

const addictIoc = require('addict-ioc');
const nconf = require('nconf');

const container = new addictIoc();

const addictIocNconf = require('addict-ioc-nconf');

addictIocNconf(container, nconf);