node package manager

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.