universal-config-loader

0.2.2 • Public • Published

Universal Configuration Loader

Universal configuration loader for json and yaml data types. loaded from first to last in order setting precedence to the last in order.

Example

var configure = require('universal-config-loader');

var config = configure.eval([
	'/etc/myapp/config.yaml',
	'/home/me/.myapp/config.json',
	'./config.json'
]);

console.log(config);

Package Sidebar

Install

npm i universal-config-loader

Weekly Downloads

0

Version

0.2.2

License

MIT

Last publish

Collaborators

  • thall