symfio-contrib-nconf

Read configuration from config.json and save it into container.

npm install symfio-contrib-nconf
6 downloads in the last week
27 downloads in the last month

symfio-contrib-nconf

Read configuration from config.json and save it into container.

Usage

symfio = require "symfio"

container = symfio "example", __dirname

container.inject require "symfio-contrib-nconf"

Configuration

configurationFile

Default value is config.json.

Services

nconf

Original nconf module.

loadConfig

Function used to load config before all plugins.

npm loves you