symfio-contrib-nconf

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

symfio-contrib-nconf

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

symfio = require "symfio"
 
container = symfio "example"__dirname
 
loader = container.get "loader"
 
loader.use require "symfio-contrib-nconf"
 
loader.use (container, callback) ->
  console.log container.get "some setting from config.json"
  callback()
 
loader.load()