comfy
Configure your applications comfortably, using environment variables and a simple DSL.
var comfy = ; // Define your configuration: var config = comfy; // Use it: // process.env.SKY_COLOR === "red"console; // => "red" // If snake_case is your thing, you can also stick to that:console; // => "red" // Name aliases work too:// process.env.IMPORTANT_API_KEY === "banana"console; // => banana
Install:
npm install --save comfy
Author
comfy
was developed by Filipe Dobreira, on @gabrielecirulli's fairly comfortable couch. Contributions (to the code, not the couch thing) are welcome!