{"_id":"comfy","_rev":"6-335fd8deafe621ab9b0369ecfbc43384","name":"comfy","description":"Configure your applications comfortably","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"comfy","version":"0.1.0","description":"Configure your applications comfortably","main":"src/comfy.js","repository":{"type":"git","url":"https://github.com/filp/comfy"},"scripts":{"test":"node ./test/test_comfy.js"},"keywords":["configuration","comfy","config","env","environment"],"author":{"name":"Filipe Dobreira"},"license":"MIT","bugs":{"url":"https://github.com/filp/comfy/issues"},"homepage":"https://github.com/filp/comfy","gitHead":"77e4a2d7d61d1c73a4fa1a03b0e15640b72cbccc","_id":"comfy@0.1.0","_shasum":"0bccbdc2dee6c1a155c6b15b18162735204a4ba4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"filp","email":"dobreira@gmail.com"},"dist":{"shasum":"0bccbdc2dee6c1a155c6b15b18162735204a4ba4","tarball":"https://registry.npmjs.org/comfy/-/comfy-0.1.0.tgz","integrity":"sha512-DnahxddEDas4gncYvcv2McwE94zsfEEM5w0H340UFqc/gXkFYqtOpZqMvVYxGirdZLQlgKX+NAKFMheeUaFvjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPAje2sv1nQP+C6ppsQMhxyTQBz4xtJADjDrW7j6YYnAiBvP1bPR9DUNNmpOk4k58yZkcH/oWivPTdfnSKt3O12zQ=="}]},"maintainers":[{"name":"filp","email":"dobreira@gmail.com"}]},"0.1.1":{"name":"comfy","version":"0.1.1","description":"Configure your applications comfortably","main":"src/comfy.js","repository":{"type":"git","url":"https://github.com/filp/comfy"},"scripts":{"test":"node ./test/test_comfy.js"},"keywords":["configuration","comfy","config","env","environment"],"author":{"name":"Filipe Dobreira"},"license":"MIT","bugs":{"url":"https://github.com/filp/comfy/issues"},"homepage":"https://github.com/filp/comfy","gitHead":"d7a1eb5fc3d5d3369861931c0ed42c73f06e30e8","_id":"comfy@0.1.1","_shasum":"cc2318ebde61f57063b8bba449e378a77c869e02","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"filp","email":"dobreira@gmail.com"},"dist":{"shasum":"cc2318ebde61f57063b8bba449e378a77c869e02","tarball":"https://registry.npmjs.org/comfy/-/comfy-0.1.1.tgz","integrity":"sha512-RL3is+UHskFmVYA1yMjjHgUjjZ+kB9YB7AgLFw1tK5UkQDh9Fq7+n/1QsQ6LD0x6G4gruDwQ8b5ArYKICIkETg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnN7qdJHMFVjcZHFQTzTgXU3FCAT1YHAO5EFhmXwPUFAIga0a8+FgXzBr6mkkhSzuyKs68GZh7N7AKi93UqOfUlf0="}]},"maintainers":[{"name":"filp","email":"dobreira@gmail.com"}]},"0.1.2":{"name":"comfy","version":"0.1.2","description":"Configure your applications comfortably","main":"src/comfy.js","repository":{"type":"git","url":"https://github.com/filp/comfy"},"scripts":{"test":"node ./test/test_comfy.js"},"keywords":["configuration","comfy","config","env","environment"],"author":{"name":"Filipe Dobreira"},"license":"MIT","bugs":{"url":"https://github.com/filp/comfy/issues"},"homepage":"https://github.com/filp/comfy","gitHead":"34804cf8bb32cab0949c2883e4c2ded4b8b8b549","_id":"comfy@0.1.2","_shasum":"a748c4288941dd9b55d47b2d353d2ba909b374e1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"filp","email":"dobreira@gmail.com"},"dist":{"shasum":"a748c4288941dd9b55d47b2d353d2ba909b374e1","tarball":"https://registry.npmjs.org/comfy/-/comfy-0.1.2.tgz","integrity":"sha512-XEwxwf34c42PHJbV3c+VEuS4Z9BAnjj/A2KxggOckCmkzxkfbB+y+yRwg7Bpzhbo0VgP/Go6BNEE6TcI96SmfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGa26FJxPIekkrFDaGkRZ0YtGjI2/7ZGKWYuXObFIcQPAiBMiFlcMpUiqcxC1U8ct/hPJ8suf1RZtplxfzmwwT7zSA=="}]},"maintainers":[{"name":"filp","email":"dobreira@gmail.com"}]},"0.1.3":{"name":"comfy","version":"0.1.3","description":"Configure your applications comfortably","main":"src/comfy.js","repository":{"type":"git","url":"git+https://github.com/filp/comfy.git"},"scripts":{"test":"node ./test/test_comfy.js"},"keywords":["configuration","comfy","config","env","environment"],"author":{"name":"Filipe Dobreira"},"license":"MIT","bugs":{"url":"https://github.com/filp/comfy/issues"},"homepage":"https://github.com/filp/comfy","gitHead":"ad667922cd29446620f5cc5530004bd551f172ed","_id":"comfy@0.1.3","_shasum":"07b1e3befcd0648fb684d467245e63baa3558913","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"filp","email":"dobreira@gmail.com"},"dist":{"shasum":"07b1e3befcd0648fb684d467245e63baa3558913","tarball":"https://registry.npmjs.org/comfy/-/comfy-0.1.3.tgz","integrity":"sha512-mSFO18sHL3VLhcANoNbrP81UtiWcsWQ//LDsHPckdKfqFkmkP2eJp0FwFkKubU2oSS2xD95l/NEdkN8FRdog6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGw08Pp0QFkBNvqKRooAyhZsVWRYxPEmq3l/VYkezCCRAiBdrQN+HXcdsyHLYJWHoYSPY+KHHzQWLU2Jk0jhRCsX7Q=="}]},"maintainers":[{"name":"filp","email":"dobreira@gmail.com"}]}},"readme":"# comfy [![npm version](https://badge.fury.io/js/comfy.svg)](http://badge.fury.io/js/comfy) [![Circle CI](https://circleci.com/gh/filp/comfy.svg?style=svg)](https://circleci.com/gh/filp/comfy)\n\n![](http://i.imgur.com/Eq6r1Q2.png)\n\nConfigure your applications comfortably, using environment variables\nand a simple DSL.\n\n```js\nvar comfy = require(\"comfy\");\n\n// Define your configuration:\n\nvar config = comfy.build(function(c) {\n  // Required properties:\n  c.required(\"important_api_key\");\n\n  // Optional properties with defaults:\n  c.optional(\"sky_color\", \"blue\");\n\n  // Aliased property names:\n  c.required(\"important_api_key\", { alias: \"some_service_key\" });\n\n  // More complicated syntax if you're running low on your\n  // LOC targets for this week:\n  c.property(\"synergy\", {\n    transform: function (value) {\n      return \"Dynamically procrastinate B2C users \" + value;\n    }\n  });\n});\n\n// Use it:\n\n// process.env.SKY_COLOR === \"red\"\nconsole.log(config.skyColor); // => \"red\"\n\n// If snake_case is your thing, you can also stick to that:\nconsole.log(config.sky_color); // => \"red\"\n\n// Name aliases work too:\n// process.env.IMPORTANT_API_KEY === \"banana\"\nconsole.log(config.someServiceKey); // => banana\n```\n\n## Install:\n\n```\nnpm install --save comfy\n```\n\n## Author\n\n`comfy` was developed by Filipe Dobreira, on [@gabrielecirulli](https://github.com/gabrielecirulli)'s fairly comfortable couch. Contributions (to the code, not the couch thing) are welcome!\n","maintainers":[{"name":"filp","email":"dobreira@gmail.com"}],"time":{"modified":"2022-06-13T06:34:24.696Z","created":"2015-05-05T21:22:38.360Z","0.1.0":"2015-05-05T21:22:38.360Z","0.1.1":"2015-05-06T07:37:09.901Z","0.1.2":"2015-06-02T12:27:53.812Z","0.1.3":"2015-10-22T15:53:39.433Z"},"homepage":"https://github.com/filp/comfy","keywords":["configuration","comfy","config","env","environment"],"repository":{"type":"git","url":"git+https://github.com/filp/comfy.git"},"author":{"name":"Filipe Dobreira"},"bugs":{"url":"https://github.com/filp/comfy/issues"},"license":"MIT","readmeFilename":"README.md"}