{"_id":"colophon","_rev":"4-93349058482b299d6e388deebcbf6f2d","name":"colophon","description":"Configuration helper","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"colophon","version":"1.0.0","description":"Configuration helper","main":"node index","scripts":{"test":"grunt test"},"engines":{"node":"0.12.x","npm":"2.x"},"author":{"name":"Johnny Hall"},"repository":{"type":"git","url":"git+ssh://git@github.com/defact/colophon.git"},"dependencies":{"nconf":"^0.7.1"},"devDependencies":{"chai":"^3.2.0","grunt":"^0.4.5","grunt-env":"^0.4.4","grunt-simple-mocha":"^0.4.0","mocha":"^2.2.5"},"gitHead":"028f79f94fc9ee5cabe4d5f5e93b30b75df9b011","bugs":{"url":"https://github.com/defact/colophon/issues"},"homepage":"https://github.com/defact/colophon#readme","_id":"colophon@1.0.0","_shasum":"25ba0971c39d7096b788c5741174feac0d077825","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"recipher","email":"johnny@recipher.co.uk"},"maintainers":[{"name":"recipher","email":"johnny@recipher.co.uk"}],"dist":{"shasum":"25ba0971c39d7096b788c5741174feac0d077825","tarball":"https://registry.npmjs.org/colophon/-/colophon-1.0.0.tgz","integrity":"sha512-F8iE2j7X9wrDOjbgIalro0wnNQ4jiCDLjM6ZhtxG6PTPK4pVael+5YPH7ZWydUKgLZrghgQfYITwoA6xKTLtDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/DsFTCG2Yuz+pmgXi3MM0Fk3jYov4vQyk3QXRYQmCyQIgD6wlOGLmJzDaWGCDylDCIOQQg2TrFWm7N4sMWSh0P44="}]}},"1.0.1":{"name":"colophon","version":"1.0.1","description":"Configuration helper","main":"node index","scripts":{"test":"gulp test"},"engines":{"node":"0.12.x","npm":"2.x"},"author":{"name":"Johnny Hall"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/defact/colophon.git"},"dependencies":{"nconf":"^0.7.1"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-bump":"^0.3.1","gulp-env":"^0.2.0","gulp-git":"^1.2.4","gulp-mocha":"^2.1.3","mocha":"^2.2.5","require-dir":"^0.3.0","run-sequence":"^1.1.2"},"gitHead":"6456a6fb5cadc5447724a689731d89a70e49f822","bugs":{"url":"https://github.com/defact/colophon/issues"},"homepage":"https://github.com/defact/colophon#readme","_id":"colophon@1.0.1","_shasum":"81993153f1d83f475d0e318f4b2d272434d752fb","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"recipher","email":"johnny@recipher.co.uk"},"maintainers":[{"name":"recipher","email":"johnny@recipher.co.uk"}],"dist":{"shasum":"81993153f1d83f475d0e318f4b2d272434d752fb","tarball":"https://registry.npmjs.org/colophon/-/colophon-1.0.1.tgz","integrity":"sha512-wIfuKyorw303OmyuI9s8qZUs5x35uVaubc88RaG2Pz9MybvBhEenGHIddybeuiQUV33q0LrAqBJx3+wpVwoAGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGA6t7giDR6t6/U4Fba9+dQV+f1RySH3u8Kj/fpwJP0kAiEAkOlDP7p8GmOhV5xxfwCAmRzL2OjmTOEXLzi+VmH2ZEI="}]}}},"readme":"## Colophon\n\nColophon is a configuration helper with sane defaults. \n\n### File structure\n\nSet your configuration data into this structure:\n\n```\nconfig\n  default.json\n  development.json\n  test.json\n  production.json\n```\n\nOverride default configuration from ```default.json``` in ```<env>.json```.\n\n### Usage\n\nEnsure configuration uses CAPS for setting names.\n\nGiven this configuration file:\n\n```json\n{\n  \"SETTING\": 123\n, \"NESTED\": {\n    \"SETTING\": 123\n  }\n}\n```\n\nTo retrieve configuration settings:\n\n```javascript\nvar c = require('colophon');\n\nvar setting = c('setting');\n// setting === 123\n\nvar nested = c('nested:setting');\n// nested === 123\n```","maintainers":[{"name":"recipher","email":"johnny@recipher.co.uk"}],"time":{"modified":"2022-06-13T06:30:58.310Z","created":"2015-07-30T10:34:44.936Z","1.0.0":"2015-07-30T10:34:44.936Z","1.0.1":"2015-08-16T19:05:19.431Z"},"homepage":"https://github.com/defact/colophon#readme","repository":{"type":"git","url":"git+ssh://git@github.com/defact/colophon.git"},"author":{"name":"Johnny Hall"},"bugs":{"url":"https://github.com/defact/colophon/issues"},"readmeFilename":"readme.md","license":"MIT"}