0.0.1 • Published 11 years ago
dials v0.0.1
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");
0.0.1
11 years ago