{"_id":"@eddieajau/config-factory","_rev":"7-238b8828a71a2ab780e98e767c35de35","name":"@eddieajau/config-factory","description":"A simple wrapper for nconf.","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@eddieajau/config-factory","version":"0.1.0","description":"A simple wrapper for nconf.","main":"index.js","dependencies":{"nconf":"^0.7.1"},"devDependencies":{"app-root-path":"^1.0.0","istanbul":"^0.3.14","jshint":"^2.7.0","mocha":"^2.2.4"},"scripts":{"check":"npm outdated","lint":"jshint lib/ test/","lint:checkstyle":"npm run lint -- --reporter checkstyle > checkstyle.xml","cover":"istanbul cover node_modules/.bin/_mocha -- -R spec test","test":"npm run test:unit","test:unit":"mocha test --no-colors","test:xunit":"npm run test:unit -- --reporter xunit"},"keywords":["config","configuration","directory","key value store","overrides"],"author":{"name":"Andrew Eddie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","gitHead":"7a7a8e64f66928699fe53c67879652bc38cd0eaf","_id":"@eddieajau/config-factory@0.1.0","_shasum":"e87cc468552f80497e58b738fdc672e5d8f17048","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.1","_npmUser":{"name":"eddieajau","email":"eddie.andrew@gmail.com"},"dist":{"shasum":"e87cc468552f80497e58b738fdc672e5d8f17048","tarball":"https://registry.npmjs.org/@eddieajau/config-factory/-/config-factory-0.1.0.tgz","integrity":"sha512-VTtfRB3xSqll3P62uOpObLvdlQ2s9WTZlIaij5Ru/VdD7o/98tRr3q/13wbXZ8Yv0dtxeB5blmZWSum7m6fBOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5KcOyP9oQquvaDZNNtQdSG35r3pyIm0nwx0QPBFSNxAiEA6Hst8wDC5D+wIhmkaBMYxVToUZonzSWJoqeHH75SRVI="}]},"maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}]},"0.1.1":{"name":"@eddieajau/config-factory","version":"0.1.1","description":"A simple wrapper for nconf.","main":"lib/index.js","dependencies":{"nconf":"^0.7.1"},"devDependencies":{"app-root-path":"^1.0.0","istanbul":"^0.3.14","jshint":"^2.7.0","mocha":"^2.2.4"},"scripts":{"check":"npm outdated","lint":"jshint lib/ test/","lint:checkstyle":"npm run lint -- --reporter checkstyle > checkstyle.xml","cover":"istanbul cover node_modules/.bin/_mocha -- -R spec test","test":"npm run test:unit","test:unit":"mocha test --no-colors","test:xunit":"npm run test:unit -- --reporter xunit"},"keywords":["config","configuration","directory","key value store","overrides"],"author":{"name":"Andrew Eddie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","gitHead":"cdd3c536d6ede667459d743e6e50e7ac683ffdda","_id":"@eddieajau/config-factory@0.1.1","_shasum":"c8964abe1e691ce8a58e061c132b0908f63b9302","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.1","_npmUser":{"name":"eddieajau","email":"eddie.andrew@gmail.com"},"dist":{"shasum":"c8964abe1e691ce8a58e061c132b0908f63b9302","tarball":"https://registry.npmjs.org/@eddieajau/config-factory/-/config-factory-0.1.1.tgz","integrity":"sha512-r/q5sznKesWBemmZ8JjE1AvarX9bpMgExC9t/8EaLnrr7ZayAGYIpTXdojTtC9TJ4udmuTlrG5MwSygtiyvbUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtbZHqh/odarXzZnHTt80d/BPyGymOCBbfzxtzCmEhJgIhAO5iPueMtnk7HPEQ3L7J//Fvbv2QOKxLXwZIwUJyTNNk"}]},"maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}]},"0.1.2":{"name":"@eddieajau/config-factory","version":"0.1.2","description":"A simple wrapper for nconf.","main":"lib/index.js","dependencies":{"nconf":"^0.7.1"},"devDependencies":{"app-root-path":"^1.0.0","istanbul":"^0.3.14","jshint":"^2.7.0","mocha":"^2.2.4"},"scripts":{"check":"npm outdated","lint":"jshint lib/ test/","lint:checkstyle":"npm run lint -- --reporter checkstyle > checkstyle.xml","cover":"istanbul cover node_modules/.bin/_mocha -- -R spec test","test":"npm run test:unit","test:unit":"mocha test --no-colors","test:xunit":"npm run test:unit -- --reporter xunit","patch":"npm version patch && npm publish && git push --follow-tags"},"keywords":["config","configuration","directory","key value store","overrides"],"author":{"name":"Andrew Eddie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","gitHead":"9889440f950068c6ab028ffaa1d45d489fc844fd","_id":"@eddieajau/config-factory@0.1.2","_shasum":"13695a454bd39c9801a5ddcb537c96fe2703fc39","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.1","_npmUser":{"name":"eddieajau","email":"eddie.andrew@gmail.com"},"dist":{"shasum":"13695a454bd39c9801a5ddcb537c96fe2703fc39","tarball":"https://registry.npmjs.org/@eddieajau/config-factory/-/config-factory-0.1.2.tgz","integrity":"sha512-Zt899w1VKwurYYX0sWPxIY7wq/l6AVqMkH+ADTTfpPkU/f/BFmiI6+8qBxrl0kWpTIe73Kryzta0tk9ZpkNisQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtzCYATitJ9K6EDxzXhVuI5zTf20xjkxFeDQ8TbVMZMAiEAjbWp7EMWnEavBozGnEq9D7JDc2vR9HDm9fswaSOhsys="}]},"maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}]},"0.1.3":{"name":"@eddieajau/config-factory","version":"0.1.3","description":"A simple wrapper for nconf.","main":"lib/index.js","dependencies":{"nconf":"^0.7.1"},"devDependencies":{"app-root-path":"^1.0.0","istanbul":"^0.3.14","jshint":"^2.7.0","mocha":"^2.2.4"},"scripts":{"check":"npm outdated","lint":"jshint lib/ test/","lint:checkstyle":"npm run lint -- --reporter checkstyle > checkstyle.xml","cover":"istanbul cover node_modules/.bin/_mocha -- -R spec test","test":"npm run test:unit","test:unit":"mocha test --no-colors","test:xunit":"npm run test:unit -- --reporter xunit","patch":"npm version patch && npm publish && git push --follow-tags"},"keywords":["config","configuration","directory","key value store","overrides"],"author":{"name":"Andrew Eddie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","gitHead":"ce933f374d1f61489d8ea30a3717223aa3ca938c","_id":"@eddieajau/config-factory@0.1.3","_shasum":"ca794503258be0fc2cb182e6b9b4d44481fe93d2","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.1","_npmUser":{"name":"eddieajau","email":"eddie.andrew@gmail.com"},"dist":{"shasum":"ca794503258be0fc2cb182e6b9b4d44481fe93d2","tarball":"https://registry.npmjs.org/@eddieajau/config-factory/-/config-factory-0.1.3.tgz","integrity":"sha512-QeyKzA3CmyERokMvH4kKmf1vknu29ipCwfHr1mCd7fB/7CALoiWjPuAGCL1/74OH+WZ8cD8mwRWkOqG6cLsAGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYGR1Inxg6AaVMkHiuAHOkqhvmRc5AlwFUEi6SdOI0DAIgJ0bZZ1xiwYSBEBbYz5zXrl1GIgESBDp+4XpzhGdB7mY="}]},"maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}]},"0.1.4":{"name":"@eddieajau/config-factory","version":"0.1.4","description":"A simple wrapper for nconf.","main":"lib/index.js","dependencies":{"nconf":"^0.7.1"},"devDependencies":{"app-root-path":"^1.0.0","istanbul":"^0.3.18","jshint":"^2.8.0","mocha":"^2.2.5"},"scripts":{"check":"npm outdated","lint":"jshint lib/ test/","lint:checkstyle":"npm run lint -- --reporter checkstyle > checkstyle.xml","cover":"istanbul cover node_modules/.bin/_mocha -- -R spec test","test":"npm run test:unit","test:unit":"mocha test --no-colors","test:xunit":"npm run test:unit -- --reporter xunit","patch":"npm version patch && npm publish && git push --follow-tags"},"keywords":["config","configuration","directory","key value store","overrides"],"author":{"name":"Andrew Eddie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","gitHead":"46b25592a9db4deb67655d456d33ea422e56c917","_id":"@eddieajau/config-factory@0.1.4","_shasum":"a92c44898628244a9ce5c8481c1bd235c4f1d0d7","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"eddieajau","email":"eddie.andrew@gmail.com"},"dist":{"shasum":"a92c44898628244a9ce5c8481c1bd235c4f1d0d7","tarball":"https://registry.npmjs.org/@eddieajau/config-factory/-/config-factory-0.1.4.tgz","integrity":"sha512-iZqFjR4/Z9wWPQdWMyUGTmCUv74A73bsyXWCu6KNMb3cteexAGjAods0tGT0eWkPqGXBvmp73j+yIVa49fVE1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnKP9qHYrs6jU8pkm6ARfMn76IZgL4IsZ0i+tIwCC5XAiEA4RXmR/scBsKmeQ/6mtgDSG1IhpkQAHLNKiNNslZP9E4="}]},"maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}]}},"readme":"# Node.js Config Factory\n[![Build Status](https://travis-ci.org/eddieajau/node-config-factory.svg?branch=master)](https://travis-ci.org/eddieajau/node-config-factory)\n\nA simple wrapper for [`nconf`](https://www.npmjs.com/package/nconf) providing the ability to load configuration files in a directory.\n\n## Installation\n\n```sh\n$ npm install @eddieajau/config-factory\n```\n\n## Example\n\n`ConfigFactory` is a static factory class that can be used to create a standard `nconf` object. However, there are two parameters that can be passed to the `createConfig` function.\n\n* `directory` - The directory that contains `.js` or `.json` configuration files to load.\n* `overrides` - An optional path to a file that can override the properties merged from configuration directory.\n\n```js\nvar ConfigFactory = require('@eddieajau/config-factory');\n\nvar config = ConfigFactory.createConfig({\n\tdirectory: __dirname + '/etc/',\n\toverrides:  __dirname + '/etc/locals.js'\n});\n\nvar setting = config.get('setting');\n```\n\nConfiguration files can be either valid `.js` or `.json`. After loading, the normal `nconf` API can be applied.\n\n## Code quality and tests\n\n```sh\n$ npm run lint\n$ npm run test\n```\n\n## License\n\nMIT\n\n## References\n- http://keepachangelog.com\n","maintainers":[{"name":"eddieajau","email":"eddie.andrew@gmail.com"}],"time":{"modified":"2022-06-12T17:28:16.059Z","created":"2015-05-13T22:29:45.279Z","0.1.0":"2015-05-13T22:29:45.279Z","0.1.1":"2015-05-13T22:41:49.124Z","0.1.2":"2015-05-26T01:37:53.403Z","0.1.3":"2015-05-26T03:30:32.228Z","0.1.4":"2015-08-20T05:39:06.101Z"},"homepage":"https://github.com/eddieajau/node-config-factory#readme","keywords":["config","configuration","directory","key value store","overrides"],"repository":{"type":"git","url":"git+https://github.com/eddieajau/node-config-factory.git"},"author":{"name":"Andrew Eddie"},"bugs":{"url":"https://github.com/eddieajau/node-config-factory/issues"},"license":"MIT","readmeFilename":"README.md"}