dials

0.0.1 • Public • Published

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");

/dials/

    Package Sidebar

    Install

    npm i dials

    Weekly Downloads

    1

    Version

    0.0.1

    License

    BSD

    Last publish

    Collaborators

    • architectd