Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple config library for node
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
node_modules
README.md
package.json

README.md

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");
Something went wrong with that request. Please try again.