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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i dials

Weekly Downloads

1

Version

0.0.1

License

BSD

Last publish

Collaborators

  • architectd