dials
v0.0.1
Published
config library for node
Readme
Example
config.json, or config.js
{
production: {
port: 80
},
development: {
port: 8080
}
}app.js
var config = require("dials").load(); //load from /usr/local/etc/{{app_name}}/config.json
config.get("port");