node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

symfio-contrib-nconf

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.