0.3.8 • Published 10 years ago

conferge v0.3.8

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

conferge npm.io

Load and merge ycb config files ready to be queried.

usage

var conferge = require('conferge');

\\ files can be either a path where files will be read from
var files = './directory';
\\ or an array of filenames
var files = [ './directory/dimension', './directory/app' ];

\\ optionally a second argument can be passed that is the location of the dimensions file
\\ or an actual dimensions object (such as the contents of a dimensions file)

\\ load all .json[5]
var config = conferge(files);

\\ config can then be queried as a ycb object
var opts = {};
console.log(config(opts));

See the tests for more details.

By default ycb calculations are cached for a quicker second retrieval. Bypass the cache by passing true as a second argument:

console.log(config(opts), true);
0.3.8

10 years ago

0.3.7

10 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.5

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago