{"_id":"confidence","_rev":"305612","name":"confidence","description":"Configuration API","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"time":{"modified":"2021-06-03T19:30:42.000Z","created":"2013-10-02T21:23:23.508Z","5.0.1":"2021-03-25T03:24:16.020Z","5.0.0":"2020-09-21T17:27:50.827Z","4.0.2":"2019-05-16T18:48:09.394Z","4.0.1":"2018-11-21T19:31:39.852Z","4.0.0":"2018-11-20T06:16:56.982Z","3.0.2":"2016-10-07T00:04:42.697Z","3.0.1":"2016-06-21T06:59:30.547Z","3.0.0":"2016-04-04T16:05:48.348Z","1.4.2":"2015-09-29T21:50:33.246Z","1.4.1":"2015-09-18T16:10:10.179Z","1.4.0":"2015-09-10T15:35:40.976Z","1.3.0":"2015-09-10T07:30:36.493Z","1.2.0":"2015-08-03T22:45:38.377Z","1.1.0":"2015-04-28T21:21:23.151Z","1.0.0":"2014-08-26T18:14:39.486Z","0.12.1":"2014-03-22T22:53:01.440Z","0.12.0":"2014-02-04T02:31:23.760Z","0.11.1":"2013-12-19T17:45:46.935Z","0.11.0":"2013-12-18T22:44:16.903Z","0.10.0":"2013-12-12T23:58:27.734Z","0.9.2":"2013-11-05T08:45:22.666Z","0.9.1":"2013-11-05T08:31:36.038Z","0.9.0":"2013-10-11T00:01:40.536Z","0.8.1":"2013-10-04T20:53:57.611Z","0.8.0":"2013-10-04T20:17:36.764Z","0.7.2":"2013-10-04T16:47:00.851Z","0.7.1":"2013-10-04T16:32:34.840Z","0.7.0":"2013-10-04T16:24:52.228Z","0.6.0":"2013-10-04T16:11:13.625Z","0.5.0":"2013-10-04T15:53:08.054Z","0.4.0":"2013-10-04T07:27:28.035Z","0.3.0":"2013-10-04T01:55:47.234Z","0.2.0":"2013-10-04T00:25:50.333Z","0.1.0":"2013-10-02T21:23:23.508Z"},"users":{"jalcine":true,"gnimuc":true,"nathanbuchar":true,"vwal":true,"tmurngon":true,"jmsherry":true,"lassevolkmann":true,"wwavelet":true,"geniusm4ster":true,"gurunate":true,"ungurys":true},"repository":{"type":"git","url":"git://github.com/hapipal/confidence.git"},"versions":{"5.0.1":{"name":"confidence","description":"Configuration API","version":"5.0.1","repository":{"type":"git","url":"git://github.com/hapipal/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"dependencies":{"@hapi/bourne":"2.x.x","@hapi/hoek":"9.x.x","alce":"1.x.x","joi":"17.x.x","yargs":"16.x.x"},"devDependencies":{"@hapi/code":"8.x.x","@hapi/lab":"23.x.x","coveralls":"3.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -t 100 -a @hapi/code -L","coveralls":"lab -r lcov | coveralls","lint-fix":"lab -t 100 -a @hapi/code -L --lint-fix","test-cov-html":"lab -r html -o coverage.html -a @hapi/code -L"},"license":"BSD-3-Clause","gitHead":"82c3f120265d88454923521c73fa39417ef81770","bugs":{"url":"https://github.com/hapipal/confidence/issues"},"homepage":"https://github.com/hapipal/confidence#readme","_id":"confidence@5.0.1","_nodeVersion":"12.19.1","_npmVersion":"6.14.8","dist":{"shasum":"e1ec01f38d56fade8582bea7a7f7d4cc27116a16","size":9983,"noattachment":false,"key":"/confidence/-/confidence-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-5.0.1.tgz"},"_npmUser":{"name":"devinivy","email":"devin@bigroomstudios.com"},"directories":{},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confidence_5.0.1_1616642655849_0.7753523321700042"},"_hasShrinkwrap":false,"publish_time":1616642656020,"_cnpm_publish_time":1616642656020},"5.0.0":{"name":"confidence","description":"Configuration API","version":"5.0.0","repository":{"type":"git","url":"git://github.com/hapipal/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"dependencies":{"@hapi/hoek":"9.x.x","alce":"1.x.x","joi":"17.x.x","yargs":"16.x.x"},"devDependencies":{"@hapi/code":"8.x.x","@hapi/lab":"23.x.x","coveralls":"3.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -t 100 -a @hapi/code -L","coveralls":"lab -r lcov | coveralls","lint-fix":"lab -t 100 -a @hapi/code -L --lint-fix","test-cov-html":"lab -r html -o coverage.html -a @hapi/code -L"},"license":"BSD-3-Clause","gitHead":"feb3856fd536cf473a2d4c38ea22db3542d9e5bb","bugs":{"url":"https://github.com/hapipal/confidence/issues"},"homepage":"https://github.com/hapipal/confidence#readme","_id":"confidence@5.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"7f4c777adf2701dd301f3b5dbbffbe08918c12fa","size":9958,"noattachment":false,"key":"/confidence/-/confidence-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-5.0.0.tgz"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"_npmUser":{"name":"devinivy","email":"devin@bigroomstudios.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confidence_5.0.0_1600709270701_0.4908440257297644"},"_hasShrinkwrap":false,"publish_time":1600709270827,"_cnpm_publish_time":1600709270827},"4.0.2":{"name":"confidence","description":"Configuration API","version":"4.0.2","repository":{"type":"git","url":"git://github.com/hapipal/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"dependencies":{"alce":"1.x.x","@hapi/hoek":"6.x.x","@hapi/joi":"15.x.x","yargs":"13.x.x"},"devDependencies":{"@hapi/code":"5.x.x","@hapi/lab":"19.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -t 100 -a @hapi/code -L","test-cov-html":"lab -r html -o coverage.html -a @hapi/code -L"},"license":"BSD-3-Clause","gitHead":"cc4b7cbba7b2284fa6e00013ae2943fd86e87509","bugs":{"url":"https://github.com/hapipal/confidence/issues"},"homepage":"https://github.com/hapipal/confidence#readme","_id":"confidence@4.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"augnin","email":"sunnybhanot@gmail.com"},"dist":{"shasum":"1551b454dec095595311f233711513b3d4de487c","size":9048,"noattachment":false,"key":"/confidence/-/confidence-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-4.0.2.tgz"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confidence_4.0.2_1558032489145_0.7557555782233092"},"_hasShrinkwrap":false,"publish_time":1558032489394,"_cnpm_publish_time":1558032489394},"4.0.1":{"name":"confidence","description":"Configuration API","version":"4.0.1","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"dependencies":{"alce":"1.x.x","hoek":"6.x.x","joi":"14.x.x","yargs":"12.x.x"},"devDependencies":{"code":"5.x.x","lab":"18.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"license":"BSD-3-Clause","gitHead":"c837c74f8bf29d7c437f17d819fa4d0cc356570a","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@4.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"augnin","email":"sunnybhanot@gmail.com"},"dist":{"shasum":"8fde271e69891936f3b516808a92630813ed6b8f","size":8825,"noattachment":false,"key":"/confidence/-/confidence-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-4.0.1.tgz"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confidence_4.0.1_1542828699629_0.8110222871744315"},"_hasShrinkwrap":false,"publish_time":1542828699852,"_cnpm_publish_time":1542828699852},"4.0.0":{"name":"confidence","description":"Configuration API","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"dependencies":{"alce":"1.x.x","hoek":"6.x.x","joi":"14.x.x","yargs":"12.x.x"},"devDependencies":{"code":"5.x.x","lab":"18.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"license":"BSD-3-Clause","gitHead":"3c736755844e7f8889fbcc9cd7d595510953bbb0","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"augnin","email":"sunnybhanot@gmail.com"},"dist":{"shasum":"63a91d7c680000e0f9b61b9dd378ab608a2381ad","size":8819,"noattachment":false,"key":"/confidence/-/confidence-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-4.0.0.tgz"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confidence_4.0.0_1542694616856_0.3318009373639921"},"_hasShrinkwrap":false,"publish_time":1542694616982,"_cnpm_publish_time":1542694616982},"3.0.2":{"name":"confidence","description":"Configuration API","version":"3.0.2","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=4.0.0"},"dependencies":{"alce":"1.x.x","boom":"3.x.x","hoek":"4.x.x","yargs":"4.x.x"},"devDependencies":{"code":"3.x.x","lab":"10.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"349f34cd4fbf23a1dd2e272df12fa75dcf794cf7","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@3.0.2","_shasum":"d1cd29994e3b7bc3f69300f87f5bc265c5335e50","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.6.0","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"d1cd29994e3b7bc3f69300f87f5bc265c5335e50","size":36378,"noattachment":false,"key":"/confidence/-/confidence-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-3.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confidence-3.0.2.tgz_1475798679265_0.42620408930815756"},"directories":{},"publish_time":1475798682697,"_cnpm_publish_time":1475798682697,"_hasShrinkwrap":false},"3.0.1":{"name":"confidence","description":"Configuration API","version":"3.0.1","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=4.0.0"},"dependencies":{"alce":"1.x.x","boom":"3.x.x","hoek":"4.x.x","yargs":"4.x.x"},"devDependencies":{"code":"3.x.x","lab":"10.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"8403d3d94f9ed20eb37a4066439531f9a5d756f2","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@3.0.1","_shasum":"fbbae6dd1ddb7a98806e7c3026167954d69e5082","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"fbbae6dd1ddb7a98806e7c3026167954d69e5082","size":36310,"noattachment":false,"key":"/confidence/-/confidence-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-3.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confidence-3.0.1.tgz_1466492369077_0.5433975148480386"},"directories":{},"publish_time":1466492370547,"_cnpm_publish_time":1466492370547,"_hasShrinkwrap":false},"3.0.0":{"name":"confidence","description":"Configuration API","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=4.0.0"},"dependencies":{"alce":"1.x.x","boom":"3.x.x","hoek":"3.x.x","yargs":"3.x.x"},"devDependencies":{"code":"2.x.x","lab":"8.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"93cdcc05b3616c79ea98a884e6f30e7c58314b27","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@3.0.0","_shasum":"4675e59365d55507280fb952e0ce31f59320362b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.0","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"4675e59365d55507280fb952e0ce31f59320362b","size":36296,"noattachment":false,"key":"/confidence/-/confidence-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-3.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confidence-3.0.0.tgz_1459785945271_0.6053132773377001"},"directories":{},"publish_time":1459785948348,"_cnpm_publish_time":1459785948348,"_hasShrinkwrap":false},"1.4.2":{"name":"confidence","description":"Configuration API","version":"1.4.2","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"6.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"c2f14c08070dd8bd1cd4bedef9c99dd0a24c7546","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.4.2","_shasum":"b8b8a0c686d20d2cdd7904853f096d63d4a6d95f","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.7","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"b8b8a0c686d20d2cdd7904853f096d63d4a6d95f","size":36270,"noattachment":false,"key":"/confidence/-/confidence-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.4.2.tgz"},"directories":{},"publish_time":1443563433246,"_cnpm_publish_time":1443563433246,"_hasShrinkwrap":false},"1.4.1":{"name":"confidence","description":"Configuration API","version":"1.4.1","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"lib/index.js","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"7b1f564a1bb0406ab523c2cf333535d920bdb018","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.4.1","_shasum":"a412d35616f63e1ec4ea537cf11c4a0a200df8e7","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.7","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"a412d35616f63e1ec4ea537cf11c4a0a200df8e7","size":36256,"noattachment":false,"key":"/confidence/-/confidence-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.4.1.tgz"},"directories":{},"publish_time":1442592610179,"_cnpm_publish_time":1442592610179,"_hasShrinkwrap":false},"1.4.0":{"name":"confidence","description":"Configuration API","version":"1.4.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"788b01d2dfa6d49291527abcd7d9c97aeac7ac45","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.4.0","_shasum":"fce4004a3a32a63d24c49942a49027652760a7df","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.7","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"fce4004a3a32a63d24c49942a49027652760a7df","size":36407,"noattachment":false,"key":"/confidence/-/confidence-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.4.0.tgz"},"directories":{},"publish_time":1441899340976,"_cnpm_publish_time":1441899340976,"_hasShrinkwrap":false},"1.3.0":{"name":"confidence","description":"Configuration API","version":"1.3.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"bef3b2c46bdc9d9dbe362526a7b3998ab6abdd56","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.3.0","_shasum":"e98103d7023865ded36f2195c6c5d56a5909caa5","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.7","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"e98103d7023865ded36f2195c6c5d56a5909caa5","size":36343,"noattachment":false,"key":"/confidence/-/confidence-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.3.0.tgz"},"directories":{},"publish_time":1441870236493,"_cnpm_publish_time":1441870236493,"_hasShrinkwrap":false},"1.2.0":{"name":"confidence","description":"Configuration API","version":"1.2.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"6c5dd7cb2e191d7df177033675a8101fa0b4fc71","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.2.0","_shasum":"b4173b08909bfe1e8698f6d9cb73ff6ac34616ce","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.10.39","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"b4173b08909bfe1e8698f6d9cb73ff6ac34616ce","size":36156,"noattachment":false,"key":"/confidence/-/confidence-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.2.0.tgz"},"directories":{},"publish_time":1438641938377,"_cnpm_publish_time":1438641938377,"_hasShrinkwrap":false},"1.1.0":{"name":"confidence","description":"Configuration API","version":"1.1.0","repository":{"type":"git","url":"git://github.com/hapijs/confidence.git"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"code":"1.x.x","lab":"5.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"b8526411e942f7589b0b30fd5f0794ebd16ad9fc","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence#readme","_id":"confidence@1.1.0","_shasum":"bd2910e120d7c7094fcd0f83689871e67ebe9c11","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.38","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"bd2910e120d7c7094fcd0f83689871e67ebe9c11","size":36073,"noattachment":false,"key":"/confidence/-/confidence-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.1.0.tgz"},"directories":{},"publish_time":1430256083151,"_cnpm_publish_time":1430256083151,"_hasShrinkwrap":false},"1.0.0":{"name":"confidence","description":"Configuration API","version":"1.0.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/hapijs/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"2.x.x","yargs":"1.3.x"},"devDependencies":{"lab":"4.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/confidence/raw/master/LICENSE"}],"gitHead":"b695dd13810bfbae67d508d47b6c444e57defcae","bugs":{"url":"https://github.com/hapijs/confidence/issues"},"homepage":"https://github.com/hapijs/confidence","_id":"confidence@1.0.0","_shasum":"b9ee9458fffc8dd48031dd3417f5f14ca47a6005","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"patrickkettner","email":"patrickkettner@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"dist":{"shasum":"b9ee9458fffc8dd48031dd3417f5f14ca47a6005","size":35719,"noattachment":false,"key":"/confidence/-/confidence-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-1.0.0.tgz"},"directories":{},"publish_time":1409076879486,"_cnpm_publish_time":1409076879486,"_hasShrinkwrap":false},"0.12.1":{"name":"confidence","description":"Configuration API","version":"0.12.1","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":">=0.10.22"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"1.x.x","optimist":"0.6.x"},"devDependencies":{"lab":"1.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/spumko/confidence/issues"},"homepage":"https://github.com/spumko/confidence","_id":"confidence@0.12.1","dist":{"shasum":"bc1f3fd0abf9dcf567d499507156a0fb62645dd9","size":35320,"noattachment":false,"key":"/confidence/-/confidence-0.12.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.12.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1395528781440,"_cnpm_publish_time":1395528781440,"_hasShrinkwrap":false},"0.12.0":{"name":"confidence","description":"Configuration API","version":"0.12.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"alce":"1.0.x","boom":"2.x.x","hoek":"1.x.x","optimist":"0.6.x"},"devDependencies":{"lab":"1.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/spumko/confidence/issues"},"homepage":"https://github.com/spumko/confidence","_id":"confidence@0.12.0","dist":{"shasum":"bb28f72efebf42ed79d81bcef9fd26cec65f7f69","size":35295,"noattachment":false,"key":"/confidence/-/confidence-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.12.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1391481083760,"_cnpm_publish_time":1391481083760,"_hasShrinkwrap":false},"0.11.1":{"name":"confidence","description":"Configuration API","version":"0.11.1","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"alce":"1.0.x","boom":"1.x.x","hoek":"1.x.x","optimist":"0.6.x"},"devDependencies":{"lab":"0.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"homepage":"https://github.com/spumko/confidence","_id":"confidence@0.11.1","dist":{"shasum":"b55caff5fba8a39b30f0148added9511a1918f73","size":35326,"noattachment":false,"key":"/confidence/-/confidence-0.11.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.11.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1387475146935,"_cnpm_publish_time":1387475146935,"_hasShrinkwrap":false},"0.11.0":{"name":"confidence","description":"Configuration API","version":"0.11.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"alce":"1.0.x","boom":"1.x.x","hoek":"1.x.x","optimist":"0.6.x"},"devDependencies":{"lab":"0.x.x"},"bin":{"confidence":"bin/confidence"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.11.0","dist":{"shasum":"1fce8324e0455720ae39d44028953d62d9781ee0","size":35252,"noattachment":false,"key":"/confidence/-/confidence-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.11.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kpdecker","email":"kpdecker@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1387406656903,"_cnpm_publish_time":1387406656903,"_hasShrinkwrap":false},"0.10.0":{"name":"confidence","description":"Configuration API","version":"0.10.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x","alce":"1.0.x","optimist":"0.6.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.10.0","dist":{"shasum":"c734fa89875bd532c0b7e00d363a98c67cc2837c","size":37389,"noattachment":false,"key":"/confidence/-/confidence-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.10.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1386892707734,"_cnpm_publish_time":1386892707734,"_hasShrinkwrap":false},"0.9.2":{"name":"confidence","description":"Configuration API","version":"0.9.2","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.9.2","dist":{"shasum":"d7a32dc9ded4907717411f93e90f4ac0b91c20fd","size":33591,"noattachment":false,"key":"/confidence/-/confidence-0.9.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.9.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1383641122666,"_cnpm_publish_time":1383641122666,"_hasShrinkwrap":false},"0.9.1":{"name":"confidence","description":"Configuration API","version":"0.9.1","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.9.1","dist":{"shasum":"7bfb4873bebd427cffbff08ad82e0e0ecf0de03c","size":33598,"noattachment":false,"key":"/confidence/-/confidence-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.9.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1383640296038,"_cnpm_publish_time":1383640296038,"_hasShrinkwrap":false},"0.9.0":{"name":"confidence","description":"Configuration API","version":"0.9.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.9.0","dist":{"shasum":"9f8742fb17932afc9111a6767ab7771dc83bb3e9","size":33593,"noattachment":false,"key":"/confidence/-/confidence-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.9.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1381449700536,"_cnpm_publish_time":1381449700536,"_hasShrinkwrap":false},"0.8.1":{"name":"confidence","description":"Configuration API","version":"0.8.1","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.8.1","dist":{"shasum":"e20db466064cf82f65c9ce254fc3003db5df1888","size":33218,"noattachment":false,"key":"/confidence/-/confidence-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.8.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380920037611,"_cnpm_publish_time":1380920037611,"_hasShrinkwrap":false},"0.8.0":{"name":"confidence","description":"Configuration API","version":"0.8.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.8.0","dist":{"shasum":"a6e8b44829da57343de6197a25fc7729e45d994f","size":33323,"noattachment":false,"key":"/confidence/-/confidence-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.8.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380917856764,"_cnpm_publish_time":1380917856764,"_hasShrinkwrap":false},"0.7.2":{"name":"confidence","description":"Configuration API","version":"0.7.2","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.7.2","dist":{"shasum":"2a0b2b88a3b8bf89994bfc77043afa2454b12499","size":32546,"noattachment":false,"key":"/confidence/-/confidence-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.7.2.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380905220851,"_cnpm_publish_time":1380905220851,"_hasShrinkwrap":false},"0.7.1":{"name":"confidence","description":"Configuration API","version":"0.7.1","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.7.1","dist":{"shasum":"9007132b4a2f84efb0be11ba5bb52d63092ee558","size":32522,"noattachment":false,"key":"/confidence/-/confidence-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.7.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380904354840,"_cnpm_publish_time":1380904354840,"_hasShrinkwrap":false},"0.7.0":{"name":"confidence","description":"Configuration API","version":"0.7.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.7.0","dist":{"shasum":"ed385bfc3890825d6278cbc490e0954276b82d37","size":32514,"noattachment":false,"key":"/confidence/-/confidence-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.7.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380903892228,"_cnpm_publish_time":1380903892228,"_hasShrinkwrap":false},"0.6.0":{"name":"confidence","description":"Configuration API","version":"0.6.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.6.0","dist":{"shasum":"e855be4c68987f620225364f291cf31051e95b73","size":32698,"noattachment":false,"key":"/confidence/-/confidence-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.6.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380903073625,"_cnpm_publish_time":1380903073625,"_hasShrinkwrap":false},"0.5.0":{"name":"confidence","description":"Configuration API","version":"0.5.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.5.0","dist":{"shasum":"c4761e3de7d3c2e493101bc63504bf5a4cd8631c","size":32953,"noattachment":false,"key":"/confidence/-/confidence-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.5.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380901988054,"_cnpm_publish_time":1380901988054,"_hasShrinkwrap":false},"0.4.0":{"name":"confidence","description":"Configuration API","version":"0.4.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.4.0","dist":{"shasum":"a517aa1775f719c2540a1c8c8a53adf5471d8d39","size":33177,"noattachment":false,"key":"/confidence/-/confidence-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380871648035,"_cnpm_publish_time":1380871648035,"_hasShrinkwrap":false},"0.3.0":{"name":"confidence","description":"Configuration API","version":"0.3.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.3.0","dist":{"shasum":"4dd4c8fb437315d88530f8f68dc23f9c99d1879f","size":31454,"noattachment":false,"key":"/confidence/-/confidence-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380851747234,"_cnpm_publish_time":1380851747234,"_hasShrinkwrap":false},"0.2.0":{"name":"confidence","description":"Configuration API","version":"0.2.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{"hoek":"1.x.x","boom":"1.x.x"},"devDependencies":{"lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.2.0","dist":{"shasum":"ba7c8b90ec803dc8f3a82947cf262d685ecca3b6","size":30857,"noattachment":false,"key":"/confidence/-/confidence-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380846350333,"_cnpm_publish_time":1380846350333,"_hasShrinkwrap":false},"0.1.0":{"name":"confidence","description":"Configuration API","version":"0.1.0","author":{"name":"Eran Hammer","email":"eran@hueniverse.com","url":"http://hueniverse.com"},"repository":{"type":"git","url":"git://github.com/spumko/confidence"},"main":"index","keywords":["hapi","plugin","configuration","api"],"engines":{"node":"0.10.x"},"dependencies":{},"peerDependencies":{"hapi":"1.x.x"},"devDependencies":{"hapi":"1.x.x","lab":"0.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/spumko/confidence/raw/master/LICENSE"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/spumko/confidence/issues"},"_id":"confidence@0.1.0","dist":{"shasum":"f861d98e1add92ee28ed56a0b0d24fe5674b744a","size":31294,"noattachment":false,"key":"/confidence/-/confidence-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confidence/download/confidence-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"augnin","email":"sunnybhanot@gmail.com"},{"name":"devinivy","email":"devin@bigroomstudios.com"}],"directories":{},"publish_time":1380749003508,"_cnpm_publish_time":1380749003508,"_hasShrinkwrap":false}},"readme":"![confidence Logo](https://raw.githubusercontent.com/hapipal/confidence/master/images/confidence.png)\n\n**Confidence** is a configuration document format, an API, and a foundation for A/B testing. The configuration format is designed to\nwork with any existing JSON-based configuration, serving values based on object path (`'/a/b/c'` translates to ``a.b.c``). In addition,\n**confidence** defines special $-prefixed keys used to filter values for a given criteria.\n\nVersion 5.x only supports node v12 and over. For older versions of node please use version 4.x.\n\n[![Build Status](https://travis-ci.org/hapipal/confidence.svg?branch=master)](https://travis-ci.org/hapipal/confidence) [![Coverage Status](https://coveralls.io/repos/hapipal/confidence/badge.svg?branch=master&service=github)](https://coveralls.io/github/hapipal/confidence?branch=master)\n\nLead Maintainer: [Sunny Bhanot](https://github.com/augnin)\n\n- [Example](#example)\n- [Document Format](#document-format)\n    - [Basic Structure](#basic-structure)\n    - [Environment Variables](#environment-variables)\n        - [Coercing value](#coercing-value)\n    - [Criteria Parameters](#criteria-parameters)\n    - [Filters](#filters)\n    - [Ranges](#ranges)\n    - [Metadata](#metadata)\n- [API](#api)\n    - [Store](#confidencestore)\n        - [new Store(document)](#new-storedocument)\n        - [store.load(document)](#storeloaddocument)\n        - [store.get(key, [criteria])](#storegetkey-criteria)\n        - [store.meta(key, [criteria])](#storemetakey-criteria)\n\n# Example\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"env\",\n        \"production\": {\n            \"deeper\": {\n                \"$value\": \"value\"\n            }\n        },\n        \"$default\": {\n            \"$filter\": \"platform\",\n            \"android\": 0,\n            \"ios\": 1,\n            \"$default\": 2\n        }\n    },\n    \"key3\": {\n        \"sub1\": 123,\n        \"sub2\": {\n            \"$filter\": \"xfactor\",\n            \"yes\": 6\n        }\n    },\n    \"ab\": {\n        \"$filter\": \"random.a\",\n        \"$range\": [\n            { \"limit\": 10, \"value\": 4 },\n            { \"limit\": 20, \"value\": 5 }\n        ],\n        \"$default\": 6\n    },\n    \"$meta\": {\n        \"description\": \"example file\"\n    }\n}\n```\n\nWithout any criteria applied, the above configuration document will result in the following:\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": 2,\n    \"key3\": {\n        \"sub1\": 123\n    },\n    \"ab\": 6\n}\n```\n\nWith the following criteria applied:\n\n```json\n{\n    \"env\": \"production\",\n    \"platform\": \"ios\",\n    \"xfactor\": \"yes\",\n    \"random\": {\n        \"a\": 15\n    }\n}\n```\n\nThe result is:\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"deeper\": \"value\"\n    },\n    \"key3\": {\n        \"sub1\": 123,\n        \"sub2\": 6\n    },\n    \"ab\": 5\n}\n```\n\n# Document Format\n\n**Confidence** builds on top of a Javascript object as its document.\n\n### Basic structure\n\nThe configuration document starts with a simple object. Key names can only contain alphanumeric characters and '_' with the '$' prefix reserved\nfor special directives. Values can contain any non-object value (e.g. strings, numbers, booleans) as well as arrays.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": 2\n}\n```\n\nKeys can have children:\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": 2,\n    \"key3\": {\n        \"sub1\": 123\n    }\n}\n```\n\n### Environment Variables\n\nIn many scenarios, configuration documents may need to pull values from environment variables. Confidence allows you to refer to environment variables using `$env` directive.\n\n```json\n{\n    \"mysql\": {\n        \"host\": { \"$env\" : \"MYSQL_HOST\" },\n        \"port\": { \"$env\" : \"MYSQL_PORT\" },\n        \"user\": { \"$env\" : \"MYSQL_USER\" },\n        \"password\": { \"$env\" : \"MYSQL_PASSWORD\" },\n        \"database\": { \"$env\" : \"MYSQL_DATABASE\" },\n    }\n}\n```\n\nWith following Enviornment Variables:\n\n```sh\nMYSQL_HOST=xxx.xxx.xxx.xxx\nMYSQL_PORT=3306\nMYSQL_USER=user1\nMYSQL_PASSWORD=some_password\nMYSQL_DATABASE=live_db\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": \"3306\",\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\n\n`$default` directive allows to fallback to default values in case an environment variable is not set.\n\n```json\n{\n    \"mysql\": {\n        \"host\": { \"$env\" : \"MYSQL_HOST\" },\n        \"port\": { \"$env\" : \"MYSQL_PORT\", \"$default\": 3306 },\n        \"user\": { \"$env\" : \"MYSQL_USER\" },\n        \"password\": { \"$env\" : \"MYSQL_PASSWORD\" },\n        \"database\": { \"$env\" : \"MYSQL_DATABASE\" },\n    }\n}\n```\n\nWith following Enviornment Variables:\n\n```sh\nMYSQL_HOST=xxx.xxx.xxx.xxx\nMYSQL_USER=user1\nMYSQL_PASSWORD=some_password\nMYSQL_DATABASE=live_db\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": 3306,\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\n\n#### Coercing value\n\n`$coerce` directive allows you to coerce values to different types. In case the coercing fails, it falls back to `$default` directive, if present. Otherwise it return `undefined`.\n\n```json\n{\n    \"mysql\": {\n        \"host\": { \"$env\" : \"MYSQL_HOST\" },\n        \"port\": {\n            \"$env\" : \"MYSQL_PORT\",\n            \"$coerce\": \"number\",\n            \"$default\": 3306\n        },\n        \"user\": { \"$env\" : \"MYSQL_USER\" },\n        \"password\": { \"$env\" : \"MYSQL_PASSWORD\" },\n        \"database\": { \"$env\" : \"MYSQL_DATABASE\" },\n    }\n}\n```\n\nWith following Environment Variables:\n\n```sh\nMYSQL_HOST=xxx.xxx.xxx.xxx\nMYSQL_PORT=3316\nMYSQL_USER=user1\nMYSQL_PASSWORD=some_password\nMYSQL_DATABASE=live_db\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": 3316,\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\nWith following Environment Variables:\n\n```sh\nMYSQL_HOST=xxx.xxx.xxx.xxx\nMYSQL_PORT=unknown\nMYSQL_USER=user1\nMYSQL_PASSWORD=some_password\nMYSQL_DATABASE=live_db\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": 3306,\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\n\nValue can be coerced to :\n - `number` : applying `Number(value)`\n - `boolean` : checking whether the value equal `true` or `false` case insensitive\n - `array` : applying a `value.split(token)` with `token` (by default `','`) modifiable by setting the key `$splitToken` to either a string or a regex\n - `object` : applying a `JSON.parse(value)`\n\n### Criteria Parameters\n\nIn many scenarios, configuration documents may need to pull values fron `criteria`. Confidence allows you to refer to `criteria` using `$param` directive.\n\n```json\n{\n    \"mysql\": {\n        \"host\": { \"$param\" : \"credentials.mysql.host\" },\n        \"port\": { \"$param\" : \"credentials.mysql.port\" },\n        \"user\": { \"$param\" : \"credentials.mysql.user\" },\n        \"password\": { \"$param\" : \"credentials.mysql.password\" },\n        \"database\": { \"$param\" : \"credentials.mysql.database\" },\n    }\n}\n```\n\nWith following `criteria`:\n\n```json\n{\n    \"crendentials\": {\n        \"mysql\": {\n            \"host\": \"xxx.xxx.xxx.xxx\",\n            \"port\": 3306,\n            \"user\": \"user1\",\n            \"password\": \"some_password\",\n            \"database\": \"live_db\"\n        }\n    }\n}\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": \"3306\",\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\n\n`$default` directive allows to fallback to default values in case a criteria is `undefined` or `null`.\n\n```json\n{\n    \"mysql\": {\n        \"host\": { \"$param\" : \"credentials.mysql.host\" },\n        \"port\": { \"$param\" : \"credentials.mysql.port\", \"$default\": 3306 },\n        \"user\": { \"$param\" : \"credentials.mysql.user\" },\n        \"password\": { \"$param\" : \"credentials.mysql.password\" },\n        \"database\": { \"$param\" : \"credentials.mysql.database\" },\n    }\n}\n\n```\n\nWith following `criteria`:\n\n```json\n{\n    \"credentials\": {\n        \"mysql\": {\n            \"host\": \"xxx.xxx.xxx.xxx\",\n            \"port\": null,\n            \"user\": \"user1\",\n            \"password\": \"some_password\",\n            \"database\": \"live_db\"\n        }\n    }\n}\n```\n\nThe result is:\n\n```json\n{\n    \"mysql\": {\n        \"host\": \"xxx.xxx.xxx.xxx\",\n        \"port\": 3306,\n        \"user\": \"user1\",\n        \"password\": \"some_password\",\n        \"database\": \"live_db\"\n    }\n}\n```\n\n\n### Filters\n\nA key can have multiple values based on a filter. The filter is a key provided in a criteria object at the time of retrieval. Filter names can only\ncontain alphanumeric characters and '_'.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"env\",\n        \"production\": 1\n    }\n}\n```\n\nWhen asking for `'/key2'`, if no criteria set is provided or the criteria set does not include a value for the `'env'` filter, no value is available. Only when a criteria\nset with a key `'env'` and value `'production'` is provided, the value returned is `1`.\n\nFilters can point to a nested value using '.' seperated tokens for accessing child values within the criteria object.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"system.env\",\n        \"production\": 1\n    }\n}\n```\n\nFilters can have a default value which will be used if the provided criteria set does not include a value for the filter or if the value does not match.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"system.env\",\n        \"production\": 1,\n        \"$default\": 2\n    }\n}\n```\nFilters can also refer to environment variables using `$env` directive.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": { \"$env\": \"NODE_ENV\" },\n        \"production\": {\n            \"host\": { \"$env\" : \"MYSQL_HOST\" },\n            \"port\": {\n                \"$env\" : \"MYSQL_PORT\",\n                \"$coerce\": \"number\",\n                \"$default\": 3306\n            },\n            \"user\": { \"$env\" : \"MYSQL_USER\" },\n            \"password\": { \"$env\" : \"MYSQL_PASSWORD\" },\n            \"database\": { \"$env\" : \"MYSQL_DATABASE\" },\n        },\n        \"$default\": {\n            \"host\": \"127.0.0.1\",\n            \"port\": 3306,\n            \"user\": \"dev\",\n            \"password\": \"password\",\n            \"database\": \"dev_db\"\n        }\n    }\n}\n```\n\n### Ranges\n\nRanges provide a way to filter a value based on numerical buckets. The criteria value must be an integer and be matched against the lowest bucket limit it can fit.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"system.env\",\n        \"production\": 1,\n        \"$default\": 2\n    },\n    \"key3\": {\n        \"$filter\": \"random.a\",\n        \"$range\": [\n            { \"limit\": 10, \"value\": 4 },\n            { \"limit\": 20, \"value\": 5 }\n        ],\n        \"$default\": 6\n    }\n}\n```\n\nIf the criteria includes a value for `random.a`, that value is matched against the sorted range entries. The criterion value will match the entry with lowest limit it\nis still less than or equal the limit of. For example, a criterion value of `5` will return a key value for `'/key3'` of `4`. A criterion value of `15` will return a\nkey value for `'/key3'` of `5`, and a criterion value of `50` will return a key value for `'/key3'` of `6`.\n\n### Metadata\n\nThe configuration file can be annotated with metadata that is ignored (and removed) by the parser. Metadata is useful for human readable information as well as to\nenable other tools such as configuration editors and validators, going beyond the basic parsing specified here.\n\n```json\n{\n    \"key1\": \"abc\",\n    \"key2\": {\n        \"$filter\": \"system.env\",\n        \"production\": 1,\n        \"$default\": 2\n    },\n    \"key3\": {\n        \"$filter\": \"random.a\",\n        \"$range\": [\n            { \"limit\": 10, \"value\": 4 },\n            { \"limit\": 20, \"value\": 5 }\n        ],\n        \"$default\": 6\n    },\n    \"$meta\": {\n        \"anything\": \"really\"\n    }\n}\n```\n\nTo annotate non object values, any value can be wrapped in an object and provided using the `$value` directive.\n\n```json\n{\n    \"key1\": {\n        \"$value\": \"abc\",\n        \"$meta\": \"whatever\"\n    },\n    \"key2\": {\n        \"$filter\": \"system.env\",\n        \"production\": 1,\n        \"$default\": 2\n    },\n    \"key3\": {\n        \"$filter\": \"random.a\",\n        \"$range\": [\n            { \"limit\": 10, \"value\": 4 },\n            { \"limit\": 20, \"value\": 5 }\n        ],\n        \"$default\": 6\n    },\n    \"$meta\": {\n        \"anything\": \"really\"\n    }\n}\n```\n\n### Shared values\n\nIf you have values that you would like to share between various configuration objects without duplicating them for each option, you can create a `$base` object.\n\n```json\n{\n  \"$filter\": \"env\",\n  \"$base\": {\n      \"logLocation\": \"/logs\",\n      \"flags\": [\"a\", \"b\"],\n      \"tags\": {\n          \"$value\": [\"DEBUG\"],\n          \"$replace\": true\n      }\n  },\n  \"production\":  {\n      \"logLevel\": \"error\",\n      \"flags\": [\"c\", \"d\"],\n      \"tags\": [\"INFO\", \"ERROR\"]\n  },\n  \"qa\":  {\n      \"logLevel\": \"info\",\n      \"logLocation\": \"/qa/logs\",\n      \"flags\": [\"e\", \"f\"],\n      \"tags\": [\"DEBUG\"]\n  },\n  \"staging\":  {\n      \"logLevel\": \"debug\"\n  }\n}\n```\n\nWhen requesting the **key** `/` with:\n\n* **criteria** of `{ \"env\" : \"production\" }`\n* Result will be:\n\n```json\n{\n\t\"logLevel\": \"error\",\n\t\"logLocation\": \"/logs\",\n    \"flags\": [\"a\", \"b\", \"c\", \"d\"],\n    \"tags\": [\"INFO\", \"ERROR\"]\n}\n```\n\nHowever when requesting the **key** `/` with:\n\n* **criteria** of `{ \"env\" : \"staging\" }`\n* Result will be:\n\n```json\n{\n\t\"logLevel\": \"debug\",\n\t\"logLocation\": \"/logs\",\n    \"flags\": [\"a\", \"b\"],\n    \"tags\": [\"DEBUG\"],\n}\n```\n\nIf the same key occurs in `$base` and the `filtered value`:\n- for objects, the value in `$base` will be overridden.\n- for arrays, the arrays are merged unless the `$base` array is specified with the `$value` key and the `$replace` flag as shown above.\n\nIn the above sample, when requesting the **key** `/` with:\n\n* **criteria** of `{ \"env\": \"qa\" }`\n\n* Result will be:\n\n\n```json\n{\n\t\"logLevel\": \"info\",\n\t\"logLocation\": \"/qa/logs\"\n}\n```\n\n# API\n\n## Confidence.Store\n\nThe configuration parser used to load the configuration document and apply criteria to get values based on keys.\n\n### new Store([document])\n\nCreates an empty configuration storage container where:\n\n- `document` - an optional object containing a **confidence** configuration object generated from a parsed JSON document.\n  If the document is invalid, will throw an error. Defaults to `{}`.\n\n```javascript\nconst Confidence = require('confidence');\n\nconst store = new Confidence.Store();\n```\n\n### store.load(document)\n\nValidates the provided configuration, clears any existing configuration, then loads the configuration where:\n\n- `document` - an object containing a **confidence** configuration object generated from a parsed JSON document.\n  If the document is invalid, will throw an error.\n\n```javascript\nconst document = {\n    a: 1,\n    b: 2,\n    c: {\n        $filter: 'size',\n        big: 100,\n        small: 1,\n        $default: 50\n    }\n};\n\nstore.load(document);\n```\n\n### store.get(key, [criteria])\n\nRetrieves a value from the configuration document after applying the provided criteria where:\n\n- `key` - the requested key path. All keys must begin with '/'. '/' returns the the entire document.\n- `criteria` - optional object used as criteria for applying filters in the configuration document. Defaults to `{}`.\n\nReturns the value found after applying the criteria. If the key is invalid or not found, returns undefined.\n\n```javascript\nconst value = store.get('/c', { size: 'big' });\n```\n\n### store.meta(key, [criteria])\n\nRetrieves the metadata (if any) from the configuration document after applying the provided criteria where:\n\n- `key` - the requested key path. All keys must begin with '/'. '/' returns the the entire document.\n- `criteria` - optional object used as criteria for applying filters in the configuration document. Defaults to `{}`.\n\nReturns the metadata found after applying the criteria. If the key is invalid or not found, or if no metadata is available, returns undefined.\n\n```javascript\nconst value = store.meta('/c', { size: 'big' });\n```\n","_attachments":{},"homepage":"https://github.com/hapipal/confidence#readme","bugs":{"url":"https://github.com/hapipal/confidence/issues"},"license":"BSD-3-Clause"}