symfio-contrib-nconf
v2.0.4
Published
Read configuration from config.json and save it into container.
Downloads
2
Readme
symfio-contrib-nconf
Read configuration from config.json and save it into container.
Usage
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()