{"_id":"common-env","_rev":"33-18786b7284be40d3aca0e986c68f7715","name":"common-env","description":"A nice little helper for retrieving configuration from environment variable","dist-tags":{"latest":"6.4.0"},"versions":{"1.0.0":{"name":"common-env","version":"1.0.0","description":"A little helper I use everywhere for configuration","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^2.4.1"},"gitHead":"a8bd0ccfd3312c6dd8d93494aad4b96b83a1649d","_id":"common-env@1.0.0","_shasum":"cad456f3f3aeed5cb5bfaba063060ce5d51d4f95","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"cad456f3f3aeed5cb5bfaba063060ce5d51d4f95","tarball":"https://registry.npmjs.org/common-env/-/common-env-1.0.0.tgz","integrity":"sha512-MlThy79TgmkB4TAz6qVwOTy/zVZxICPw7VeJPWV9BkkSMsoBRamBQTRvO2GcaKT+syL3ZF/elpb9AzGp+yYEJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFd4AVnEi2x+12djSJsxN+5C/lUSh6SpXNChgaQp+mb5AiAsnP25hQAP1jkTdrT6dGlquM11Obf2J9XwTkGX7M2pYA=="}]}},"1.1.0":{"name":"common-env","version":"1.1.0","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^2.4.1"},"gitHead":"1afea92aa73fa9af30471decf9a8f46f85377ae9","_id":"common-env@1.1.0","_shasum":"bac76ae724196a9759a4364c5117df958b7aa956","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"bac76ae724196a9759a4364c5117df958b7aa956","tarball":"https://registry.npmjs.org/common-env/-/common-env-1.1.0.tgz","integrity":"sha512-kY4k7PSnwWAFjiDgzOOT/MEVV4ZyC837tSn8GrUx0iWlx6ZWNDMyoP7uy7M5s1buXnfxmyapG5LfWTngQiiVJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRgcNiefdOo2p+fNZL8790h0mEtTsg7ozYtuZxwuTuTAIgJQIBqJzJHYoWi1+tShoJNgkYI3nMi6kJZojqTzNcirs="}]}},"1.2.0":{"name":"common-env","version":"1.2.0","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^2.4.1"},"gitHead":"7a3aea25387d7c72a105fa53c2db5e470a1a83f8","_id":"common-env@1.2.0","_shasum":"a1774b3509054de4b48301429ea9be1f04086758","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"a1774b3509054de4b48301429ea9be1f04086758","tarball":"https://registry.npmjs.org/common-env/-/common-env-1.2.0.tgz","integrity":"sha512-pPGVwNA5beRlBi/z1IsQssOxr9ZwdQY8OvFGQkN7c92PSSX30odWmegGm66Jp8MsYE66VUaKy5TERW4MwBl+Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBuAegACoxV5IQACzapt87T2nny5hI603JTOYQM9/r1vAiBSWXXwocW+3vSc5pTXZoHsPwyjqIF5WeMz1FJimJv0/w=="}]}},"2.0.0":{"name":"common-env","version":"2.0.0","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.6.0"},"gitHead":"452b2a6a5a0d5213b5e8b4dbd6c3a9d6731b9dba","_id":"common-env@2.0.0","_shasum":"9b6cee0bb4eab298fe9603cc4881f42e3e20ae2b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"9b6cee0bb4eab298fe9603cc4881f42e3e20ae2b","tarball":"https://registry.npmjs.org/common-env/-/common-env-2.0.0.tgz","integrity":"sha512-Hhs2I/F7EdzVtkhB3qNQHroxVo67zm8eHN1ckw4xxw95t9hOlweU8Y8P2MC8Imz/pxvzEV2Q1RttHb+FbLST+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8hnuy8hE+278ROiUW/lYmd4H1lO1uMiVyhv3nj2epBQIgCv4cztXZ5o+ZJG+vfynkPQAouu9lt+Q8oclybqLhiIc="}]}},"2.1.0":{"name":"common-env","version":"2.1.0","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.6.0"},"gitHead":"a7d0425dc8efe3cc0e2e1040eb03d988bde14cc9","_id":"common-env@2.1.0","_shasum":"c06ca99b4b701ceb2829bbf7d8d4ceaecde1fe00","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"c06ca99b4b701ceb2829bbf7d8d4ceaecde1fe00","tarball":"https://registry.npmjs.org/common-env/-/common-env-2.1.0.tgz","integrity":"sha512-8POXGkrScmpbmfOjMN31jtxGP8xZObJwoAOe+nNCMOZrnie0T4O96lhdZPGZMszsWe4U7Ot/IUPloIlWk7+ppQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu1c5OAP3QyofxK5OkxV7qmVTIa8ZmLawT38As/VsiiQIgEKpCgSZ8+oqEBnRYz9k00Vi+WachE3FMPkBXQx6dvtM="}]}},"2.1.1":{"name":"common-env","version":"2.1.1","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.6.0"},"gitHead":"a859d5bef45335d64e8afe5800ca5c37c044158b","_id":"common-env@2.1.1","_shasum":"6d950cc48296765f03af9e3d2faa8f5ee4bf6c1f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"6d950cc48296765f03af9e3d2faa8f5ee4bf6c1f","tarball":"https://registry.npmjs.org/common-env/-/common-env-2.1.1.tgz","integrity":"sha512-MLWi1qowwnxOpXeIhBC3Xh3vZ4h7gOdQjyUqxl4+cjSosppRyk78azw/uG9w9wnmDX+CQ1mfd/gLKOyakda1RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGLqoRTXZZ7m0DxXmKdw7PCnhm7S0NWLUeL70+LgVhEAiEA8lI/zQr83fAn6hfypixZ8C7/Ioe+c5Q9vJngFFIc9Is="}]}},"2.2.0":{"name":"common-env","version":"2.2.0","description":"A nice little helper for retrieving configuration from env. vars","main":"lib/common-env.js","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.6.0"},"gitHead":"16d9bd4e3138003d0a4168687acca72fd77ef2ee","_id":"common-env@2.2.0","_shasum":"da94a27867067d02df9b9518832fbfc22fd3e3ff","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"da94a27867067d02df9b9518832fbfc22fd3e3ff","tarball":"https://registry.npmjs.org/common-env/-/common-env-2.2.0.tgz","integrity":"sha512-leeT8h2gVHNky1EmbZhFBYNUrTGQhaOj4f1AQ2VfKPC4UlQ8qRH8XccPuCyYZPs0/jHlRk/Td54i22qNKkbMxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXdYtEIcCW9ObKKwks8YrDFTpir4wI5QWEuQOOAvKq1AIhAJGpkq1nFGxbBbPqj5B1fBBGD9nCblQFn6qDwi03+QJQ"}]}},"3.0.0":{"name":"common-env","version":"3.0.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"7b06d66a36bb8aa87be8eb0302592ececefbe2c5","_id":"common-env@3.0.0","_shasum":"b1d9515a0bd2f6adf9354370064d44da49d349c5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"b1d9515a0bd2f6adf9354370064d44da49d349c5","tarball":"https://registry.npmjs.org/common-env/-/common-env-3.0.0.tgz","integrity":"sha512-dcA0qtN+pBCNJY+BjmJUTZ4JaHtVZtKHLzI+DiEadEQl/2v/yVpHUfgO/6lOiqB3xniCZELg/F59k9IYlAaqIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu9yr1sdQQkX44VZ5jda2brgAYNnPOMQ07mlb2MjJYUwIgIKKKQ7t/sRQRsW7RGT1f1oqDqX2dmvz+UMaqd/z08Ys="}]}},"3.0.1":{"name":"common-env","version":"3.0.1","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"67fceaf6bc4b41638cb90fbe02e01b234f0bf0ad","_id":"common-env@3.0.1","_shasum":"3161afebd128c7b06a2c2f6a75c9d35b06d3a16c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"3161afebd128c7b06a2c2f6a75c9d35b06d3a16c","tarball":"https://registry.npmjs.org/common-env/-/common-env-3.0.1.tgz","integrity":"sha512-LNrOmpVvWBT1LBNCcli3lh3J0kC4qkiSxKe2sS8+EsART9FdTXa/yOaEGAy02o3I9G2kagUo/8JolYXjP3+OYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa0k3QnKaJ4sOo8V8x3HcwSW9t8mhupxful/CeScS4rgIhAP0SP/YBnIGJ0eHFQRC6VpeK2PAB25XnAFIXNmk8cMbL"}]}},"4.0.0":{"name":"common-env","version":"4.0.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"6c457ec66b48b0361ed43bdc5ffce6f00436c082","_id":"common-env@4.0.0","_shasum":"3f052a27989c11114662a7e9f7e8c56ab87b4ffb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"3f052a27989c11114662a7e9f7e8c56ab87b4ffb","tarball":"https://registry.npmjs.org/common-env/-/common-env-4.0.0.tgz","integrity":"sha512-lOALvI9qef4MlqyA6+8osriwM2kjnhQ9q/gpEf1xtlc8yYVknu8mX9XbfcwmzRGmVmNIBhOc+f851I5IrlsL4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICiEj26zpENbI4NDMRkPBkLsk1+LsoHeeXuRFkm2j8d7AiEA/6QhVzy5Cg5BgKlSqMuux/VoI5dZI2OVa+tuTCTU/4g="}]}},"4.0.1":{"name":"common-env","version":"4.0.1","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"3f9b85c9831ca3ded562682a1163360448e92fd0","_id":"common-env@4.0.1","_shasum":"ac96506bda3df1a4b4822d8021f2c19761354820","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"ac96506bda3df1a4b4822d8021f2c19761354820","tarball":"https://registry.npmjs.org/common-env/-/common-env-4.0.1.tgz","integrity":"sha512-mnd4FNCYwqMokB2h78l2pU0qBPjztbkvDBbOYIV0DvCk0evID2SzHjPn4fi6xzKy60x43RECbHkb1mcqbviEIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUeN9HwDewUSEH0XAdz7Ee0Q+cRBj/CqClMQhLmszVwAiEA8ck76YyL9Ptld/CFpNEjPO0JJzSJrAXiTFPWpI2tmGc="}]}},"4.1.0":{"name":"common-env","version":"4.1.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"a782c409f3783249f46c833ee50ebba361e2b44e","_id":"common-env@4.1.0","_shasum":"bf8a09bba71e36ef81631fe68a84db71fbefa011","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"bf8a09bba71e36ef81631fe68a84db71fbefa011","tarball":"https://registry.npmjs.org/common-env/-/common-env-4.1.0.tgz","integrity":"sha512-J/0RH+h4ocowYIXO8LjxsG7FuGm8zIS96s3U+UbDgY+izk+7wAif9ViMenFJizJQkV9fJW9KSmKUMHfQ5EEWIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRSxoQHRSdxXlUnyLL26WvIpcvv2CzCSX+SUj9/aZzqAiEA3WHYItDJ+hyAJHGSaR1ReGua+3+XwFS3aVEqxgFZP+M="}]}},"5.0.0":{"name":"common-env","version":"5.0.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"e53dbae84e99de457811543834bc72ff779a2780","_id":"common-env@5.0.0","_shasum":"600c9d224612564638068eecc34e742da67ab4ac","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"600c9d224612564638068eecc34e742da67ab4ac","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.0.0.tgz","integrity":"sha512-k2PG9tbXpD/UEEMYNS3Ho5H9DA44eWnBgAi3D4NByIiRi/wAYivG7/8yqIGXWP4tzpackXk/LFb3UTF63y2ZbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx9qucXQAkHcEXw4F/O1mG6heYuxa32/3xfYL4TplXAQIhAPIp+DMEyQ2AnpOpHNdeqdu+GX7JFT5/3e6ckjdK6j+L"}]}},"5.1.0":{"name":"common-env","version":"5.1.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test","test-watch":"mocha -w test","changelog":"github-changes --o fgribreau --r common-env --token $CHANGELOG_GITHUB_TOKEN -f CHANGELOG.md"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","github-changes":"^1.0.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"749bd255ef71d94e97d58e513b22fc99347ee741","_id":"common-env@5.1.0","_shasum":"3cbd59a0618b818e4550166415ea36c478d3891a","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"3cbd59a0618b818e4550166415ea36c478d3891a","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.1.0.tgz","integrity":"sha512-bKOD7ww/Yrlq9hP9kff1mxyT34pQH75mfXRaZ8E1ACJAH+mDRThNbIT7RlZlIeToqST9roBOGTaGDe5ucRi8Ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfsi1nL55aEZZnONlqcdiPIWQZwx1od2QnXX5UcaiNGgIgUdaEJXr6iLNrCKNxjf6v9lJme2XqUZVcNxSQjzZMTKc="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}]},"5.2.0":{"name":"common-env","version":"5.2.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test","test-watch":"mocha -w test","changelog":"github-changes --o fgribreau --r common-env --token $CHANGELOG_GITHUB_TOKEN -f CHANGELOG.md"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","github-changes":"^1.0.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^3.8.0"},"gitHead":"238ff9e73603c51848fdcd245f4fb15689db3c13","_id":"common-env@5.2.0","_shasum":"3c3012e5dcd47c203fdeb0663204104e413396fd","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"3c3012e5dcd47c203fdeb0663204104e413396fd","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.2.0.tgz","integrity":"sha512-uXc8wnvpGdiZOwQL6uboG3YspSKxS8nIEjMdJC5NlITIJ2/Wn81bS2BmLkeSKwbQBTBQr4PR1g2c5d3eFEL4Eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6yT8Xy8japOK2lGKDvDAdzhYL5b0bu6P6fTY8lf1/OAiBZTz84XdIdDuT0HTaRY7HcEoE7Ns6ycxn71jnkIdVJWw=="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}]},"5.2.1":{"name":"common-env","version":"5.2.1","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test","test-watch":"mocha -w test","check-build":"check-build","changelog":"github-changes --o $(node -p 'process.env.npm_package_repository_url.split(\"/\")[3];') --r $(node -p 'a=process.env.npm_package_repository_url.split(\"/\");a[a.length-1].split(\".\")[0]') --token $CHANGELOG_GITHUB_TOKEN_FG -f CHANGELOG.md"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","check-build":"^2.3.0","github-changes":"^1.0.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^4.0.0"},"gitHead":"63d2ce93d30c326dc1daf622fd21db4937b13d7b","_id":"common-env@5.2.1","_shasum":"ec780f8555e76dac11e1fdfcd9b59b27ddc54703","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"ec780f8555e76dac11e1fdfcd9b59b27ddc54703","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.2.1.tgz","integrity":"sha512-uRUpLajAyeHw9/DBdd0Yf0zM+Sn8PinV4gWoi/jND9mYYsPfwgwn7xD2Sp58Wc6TlATdNAon4Bg7+JxPGmwBow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL5n12M3NhU7oacmp7sZHYEgaGjf2/SOcq29luCIW/wAIgVEEfyXyN5lJqFku1dyNgPefrvnBGia6K2XcGd8Zfz0Y="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}]},"5.3.0":{"name":"common-env","version":"5.3.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test","test-watch":"mocha -w test","check-build":"check-build","changelog":"github-changes --o $(node -p 'process.env.npm_package_repository_url.split(\"/\")[3];') --r $(node -p 'a=process.env.npm_package_repository_url.split(\"/\");a[a.length-1].split(\".\")[0]') --token $CHANGELOG_GITHUB_TOKEN_FG -f CHANGELOG.md"},"repository":{"type":"git","url":"https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","check-build":"^2.3.0","github-changes":"^1.0.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^4.0.0"},"gitHead":"b09d04802a2a952a4b72883cdc7a4a172548703c","_id":"common-env@5.3.0","_shasum":"fd2da154465e33400f12456fc00eb6491027c09a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"dist":{"shasum":"fd2da154465e33400f12456fc00eb6491027c09a","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.3.0.tgz","integrity":"sha512-jqBsCxSB88igftqDs9gUaIk8W5TN0ASYvkcXSMDHBMFn64V2IGVx8dkyo0Z+C1tPe9z4znVtd98sn5iTvyuUYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXx4uaOeK048f8R2x30Yu9wTI3oJRkgU7oUceLn3Xv0AiEA6KPHNbG/bFcMSfuDs8b01QMv73h8xgZY2lLwe2RzM/c="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/common-env-5.3.0.tgz_1469813243924_0.556370637146756"}},"5.4.0":{"name":"common-env","version":"5.4.0","keywords":["environment","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./lib","directories":{"doc":"docs","test":"test"},"scripts":{"test":"mocha test","test-watch":"mocha -w test","check-build":"check-build","changelog":"github-changes --o $(node -p 'process.env.npm_package_repository_url.split(\"/\")[3];') --r $(node -p 'a=process.env.npm_package_repository_url.split(\"/\");a[a.length-1].split(\".\")[0]') --token $CHANGELOG_GITHUB_TOKEN_FG -f CHANGELOG.md"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^1.10.0","check-build":"^2.3.0","github-changes":"^1.0.0","mocha":"^2.1.0"},"dependencies":{"lodash":"^4.0.0"},"gitHead":"02da1acc5bcbe8c91178fc5dac4a455d54654754","_id":"common-env@5.4.0","_shasum":"a5d54d932c9439fc99b968cb2f713416d0b4ab09","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"a5d54d932c9439fc99b968cb2f713416d0b4ab09","tarball":"https://registry.npmjs.org/common-env/-/common-env-5.4.0.tgz","integrity":"sha512-LtoWbo0NIYf37kEI9rDaV+BgIJIn0Ilol7vNHV9Na45sKdzf0EkF8vvD3t0RMKjvQL2CvNMRLRl/mqrC1LQKtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6bZcfj0JaI1SAS/Ty544aj5q/qDNw44qrzRUUIfZrBQIgerYlv9in8WkW3jU9M8HEq1RSxjPWGWngOxeZ30uT3+g="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/common-env-5.4.0.tgz_1470662126689_0.889413533732295"}},"6.0.0":{"name":"common-env","version":"6.0.0","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":"6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","changelog-init":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog":"conventional-changelog -i CHANGELOG.md -s","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^8.1.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.15.0"},"gitHead":"18bd99ac672ba20a83378b5d216adaa122e1771d","_id":"common-env@6.0.0","_shasum":"b5f47be50d801601e2df6265f972d80e5febfcba","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"b5f47be50d801601e2df6265f972d80e5febfcba","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.0.0.tgz","integrity":"sha512-EDDdXTvNjrj/Scmbb/P1rtpzkyeBZJ79kdi1ctPLLrrkxkQq8lVipgtmMI3y2/MDaLIhNX2LEEj1NbfTs9bwqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5MCcBEsK2aC4yA7uZunnJXJaREZ1PV13rDu+AGjhxtAiEAtYbdZc0dflmqhOnFsgaFk55xtIem0W2zZHsuK6Iw6WY="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/common-env-6.0.0.tgz_1471964862583_0.9471984077244997"}},"6.0.1":{"name":"common-env","version":"6.0.1","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^8.1.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.15.0"},"gitHead":"efe1bccbccffb37a09d5574d6f18da93f74c1501","_id":"common-env@6.0.1","_shasum":"1a7d9d4bcd6d9f28e373c3b1468eb45a3f6b0152","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"1a7d9d4bcd6d9f28e373c3b1468eb45a3f6b0152","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.0.1.tgz","integrity":"sha512-CL23V580USOxymoxPI0kgxoGO8HypGvhqvP6WkLp6po1aqi1warGUWksf6tWTNSl8uAE6p0POC63e7UPyoXyuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbZOOYsT14lpqL2kiU7zRelkjJh9fF+9NxTNo5krPEBwIhAJdnBJBPIvWYG4QTOzK+qv0Ei0rWi2LnlS7I6VkALfXv"}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/common-env-6.0.1.tgz_1478098569836_0.8202535382006317"}},"6.1.0":{"name":"common-env","version":"6.1.0","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","release-after-pr-patch":"git pull --rebase && npm run test && npm-release patch && npm run changelog-git","release-after-pr-minor":"git pull --rebase && npm run test && npm-release minor && npm run changelog-git","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^9.0.1","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.15.0"},"gitHead":"eeb7e1642a7088a10efe1a92fbd20820ac2a8582","_id":"common-env@6.1.0","_shasum":"28a559585fdf62b1a82e937f802dca47d3a573a8","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.3.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"28a559585fdf62b1a82e937f802dca47d3a573a8","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.1.0.tgz","integrity":"sha512-I+BNolH86ZaM/WxBTVgD1arotw5+sxTj5KetjQwT0uN4ZSYpEr9hD+ADHzKvPQBphDYmNgyAlIA2e20H5qam3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFw34a/txNRz+5FcdU9Ovf0Jn94Z2gFCl+NKkg2BOKSHAiBdSRQ0RLbEWN7SFHkLZ0XknDt5kWC37lZXXZx8ymM8tA=="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/common-env-6.1.0.tgz_1479830877535_0.5851455314550549"}},"6.2.0":{"name":"common-env","version":"6.2.0","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","release-after-pr-patch":"git pull --rebase && npm run test && npm-release patch && npm run changelog-git","release-after-pr-minor":"git pull --rebase && npm run test && npm-release minor && npm run changelog-git","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^10.0.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.17.11"},"gitHead":"e69b9236b249e20a382896197a65f515cf64456a","_id":"common-env@6.2.0","_shasum":"14ff66173763058a3037872e04a64b193b1b8107","_from":".","_npmVersion":"2.15.12","_nodeVersion":"10.12.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"14ff66173763058a3037872e04a64b193b1b8107","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.2.0.tgz","integrity":"sha512-vdPSgiIcmwY5P6DT0e8EptMvvbR0TNBYVKbH1D/gzI1x4ZnLA9BiB4Mdk1ge5vARAuRW2mDoAM1z6oZNvmqGqg==","fileCount":41,"unpackedSize":255509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0MmBCRA9TVsSAnZWagAATCgP/AtPrYDa2FfdUdZTtodh\neN4Qp+O/NEHF3o9LDmAq4HYyQcRgFpZ/OlEJ9EgaSU/2Nq+w01nfcoIQwEQ+\nkmnnd/uNYD8xbjUUlieEOo4uypIC+j+ZRxdKaNlEfLUpSuRvdheaLReG2V8/\nwZNwXY2TZ9W2vPbFTIGQJpTosrBzX9I7pWQZMIsevZbldjMHVApKwe/Eo8Xh\nJUOodD4mUwbFZPBRennf559B2TN/SrX0tKEmRtHdYJuziT99prn1+kWHe7Dz\nT/kfxjxRAUp+wHiJz4YuzKs2vVBKpZFOi5UQGsWTB00blmPIfyoaqSCwLRx2\nCYg8SGVlvS3zZ/BbNlIfWnSRqVgs6dNtgLpyxHcXT+qsZLcyfLmGuixrXGnD\nVJt9RRGy1y+g5IP2iZxJsIRkZYrDmXvtANxoI2J04vI26IBnjHaDHA+gUlSI\nBBY+1EQ3KcJBXsGEs2/6tuPDcYKW53YKlQoe9M7Ih6W2Wo2QxIcjHG28p+bp\n1zQW8geF0tRG32BkH1y/5H9Hzn1QJxqdJpZ4UhvHgOzt5h+mJ//k8HF2+WSH\n04MbfxwaNN3/kski+1PmvShV80M55k+WrApM22CqNZjp7+tw05+Pas9r9zCL\nHYkbX96A79Jq3DIERjayQr9SbQKYYOXYfxuW9XTPtu7xIWTGMErV8XOjd/v8\nQnVD\r\n=ORQw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiTRKZxVwhtalZFmbWYwWprpWpt9o9vShmNRZbdRVI5AiEA19FUVIE+Pq8iHQINNljYjrUnMCa48ZGnELPIkcD9/lw="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-env_6.2.0_1540409728400_0.6502347884398334"},"_hasShrinkwrap":false},"6.3.0":{"name":"common-env","version":"6.3.0","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","release-after-pr-patch":"git pull --rebase && npm run test && npm-release patch && npm run changelog-git","release-after-pr-minor":"git pull --rebase && npm run test && npm-release minor && npm run changelog-git","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^10.0.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.17.11","npm-release":"^1.0.0"},"gitHead":"4336b74a139d7c401cefbca96141353364dbc68a","_id":"common-env@6.3.0","_shasum":"2a1be73779d627c29ef7b618dbe48f504fe0f884","_from":".","_npmVersion":"2.15.12","_nodeVersion":"10.12.0","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"2a1be73779d627c29ef7b618dbe48f504fe0f884","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.3.0.tgz","integrity":"sha512-BfpvYNLzMskpjm4GncBfD+uBv4uDPU3MLTZtizEUIk97nr9Wwh8WLDJG5uJza2vNdf3WvFK4BWSz8KRMXVooPA==","fileCount":42,"unpackedSize":617170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb10mTCRA9TVsSAnZWagAApk4QAI+aT+2+np0SxsObVdVV\nm6t0p36rqe3UK6a7G2cbJL2Pf8d+nVCmNCNI0zcViQLFrxP8WH7jsHZ5hjiB\n7L1/StM69Eyk4Q2PJ4JwPCfiLW0uyOENBoeGSNdddRlqX9q5c+tJ5drrKdON\nCmzAgc30Vmnq18OVAojfRxigiBf2bXjPa6cprAVj1cDarw6Ji2pqyAaOcnla\nY64GVNeT6Y6drvZ8pQpnaCJqVSen0dRLftOO7ApFVOvqkwc2Rb9Tby4/NRJe\nlOZC7X9nHIWQ4wmlU70Xll2WJPtb4NqfZCq1x9YcI7btYOheHiOji0oVo1Jj\n38k+V44olyboGqbpKwn5cxJj8ysI7LVZv+SkKtquSOg0exmbIr0Da8FzQsH7\nS8yPD7lu4VwUQ6CoSoGdK688MF7ma5cP3cQpR/QsTHZoMYcPblnjTSjDend6\nquYoD62smAWQcUoxgA3YEHPwOkZUx+Rb3iWe6vkKE0YdjAPcbCxE2Fajwawl\nY2S9LSe2nyBKudtuejVRXSHlx0OZw4PawTjDTOtZOULvJ2q+RVPEBs2dZbOC\nD2SF2f21N0B49JV+9sBLrBsine++3qJwd5iLuNbDobE6d1r2EPUGHTWtvEwL\ncaejscFAv3ld6WESuaTlBjjm2o4ULMARGOKwmoW2izVM5XhgjUAZbHeusNqi\n64EM\r\n=9/S4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaVGIZkRqskIgXi6F4qHvvyGS+f95SHh0rLKW9Tp83YAIgajUzMzpmXf05KDwuPaNayv3Y7w+F522JTyHMdA5NWJo="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-env_6.3.0_1540835727628_0.4614982757013888"},"_hasShrinkwrap":false},"6.3.1":{"name":"common-env","version":"6.3.1","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","release-after-pr-patch":"git pull --rebase && npm run test && npm-release patch && npm run changelog-git","release-after-pr-minor":"git pull --rebase && npm run test && npm-release minor && npm run changelog-git","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","nyc":"^10.0.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.17.11","npm-release":"^1.0.0"},"gitHead":"4e95361b70444b4d35f2b91515857067b17c2059","_id":"common-env@6.3.1","_shasum":"ae00fbef5b2a33e7bf29e691e106b543b46717ab","_from":".","_npmVersion":"2.15.12","_nodeVersion":"12.13.1","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"ae00fbef5b2a33e7bf29e691e106b543b46717ab","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.3.1.tgz","integrity":"sha512-0DVKAP0nwuCsNe5k4nOmrCI/ODC33nj48MTgaDDzQVRHMmXvI/4fszUeM07PF6mVYfMNezDxo/8NlssWzKfNbg==","fileCount":42,"unpackedSize":617946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeAOfFCRA9TVsSAnZWagAARJgP/iXlA5Td01FEnBxVka1N\nIF3Nd9uUplDkrMqAVQ5bTZ5qFyROueLiXYHuJTkF2tD8LY1BybLhA4NHbaMF\nAqe084306oFDDmZaWvi+y/ShVVT94tTIfOdkHvxaZLy+cDCEvZdaN+wMiUZH\nINRV+va6Q87wI+XYg6V2PW2mCPRA+hztLtwbCUkdFlyl7icU0nUZJUt7lQ25\n+ExOc3P+1ZCBA8LXtnzT5DOrr+ORhAv+WN829pN+uhKof4hTf8HMvBsky1Qm\nxkQvA01m7xBZJbYAYuMN2UyIg6J1Z7RtUWvepjDodMZnLKiBqOOEPqRYPvFX\njRRu4QoQE5LyHAucwPrJWPmwTCTupwvDbLQ9BsxaJyo1myCxTbyOu0/na/Uw\nkBCrYNZUavnuudFFuxB0YC3QFsJqW8oxIztkKsT/jx1CPF4vvKniQEGra6vr\nv7aEH7JI0/i/vywoWfa/j0pB7cFjpDKWxSxR6zNkM4n4yniHOY/Km07HlPeL\ntcvN3KECSfMzmj3fbMvVbr4KMbUwQKtbRaAPmSLjh3TdoeyPmQjtkcrVOJuW\naZ19B9j7I6kGtZ3yRtT0ZS08QB7/vusBIwfodZc39pDs1CPmDJYM95QOcH1E\nJByW1CuWGj0i2FjRqZPMjnZ4N0sdKnKXxQTz2T/BX8RU9hz2tNls2gi41Fxj\nqRvD\r\n=itnl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGC6H5JtJKPipVonnqxvkh1nyNqKnBZE/agqNPI9/ZaIAiAFYXnxU9fn3T06BWmsqvjqN+wWlEJ1Iq8VTSgZilXlzw=="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-env_6.3.1_1577117634637_0.5154917105402541"},"_hasShrinkwrap":false},"6.4.0":{"name":"common-env","version":"6.4.0","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"description":"A nice little helper for retrieving configuration from environment variable","main":"./src/lib","directories":{"doc":"docs","test":"test"},"engines":{"node":">=6"},"scripts":{"test":"npm run test-unit && npm run test-coverage","test-unit":"mocha $(find src -name '*.test.js')","test-watch":"mocha -R min -w  $(find src -name '*.test.js')","test-coverage":"nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000  $(find src -name '*.test.js')","send-coverage":"cat ./coverage/lcov.info | coveralls","check-build":"check-build","update":"updtr","release-after-pr-patch":"git pull --rebase && npm run test && npm-release patch && npm run changelog-git","release-after-pr-minor":"git pull --rebase && npm run test && npm-release minor && npm run changelog-git","changelog":"conventional-changelog -i CHANGELOG.md -s -r 0","changelog-git":"npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master"},"repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"license":"MIT","bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"nyc":{"exclude":["node_modules","dist","coverage","webpack.config.js","**/**.test.js"]},"homepage":"https://github.com/FGRibreau/common-env","devDependencies":{"chai":"^3.5.0","check-build":"^2.8.2","coveralls":"^2.11.12","conventional-changelog-cli":"^1.2.0","mocha":"^3.0.2","npm-release":"^1.0.0","nyc":"^10.0.0","updtr":"^0.2.1"},"dependencies":{"lodash":"^4.17.11"},"gitHead":"4abfa61bfb32cc8b5e986fcd5cf898ac71af976e","_id":"common-env@6.4.0","_shasum":"b4368a1a31273f2b1237ed0e41dcdaf0cc62f8a9","_from":".","_npmVersion":"2.15.12","_nodeVersion":"12.16.3","_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"dist":{"shasum":"b4368a1a31273f2b1237ed0e41dcdaf0cc62f8a9","tarball":"https://registry.npmjs.org/common-env/-/common-env-6.4.0.tgz","integrity":"sha512-6SbgSWUiIv6KK9epA3x4UCBag/uGI5XPo7wzqAW5RxvtwBsFqYIeeCt/4yMsPmP1f7olguc7SpWxz58DIyWh8Q==","fileCount":42,"unpackedSize":614970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1qMtCRA9TVsSAnZWagAAuv0P/3wwOZp3Z46BXL+TPy2y\nqJffBeQg3areaoLEYEUnDlyxBQcSD8RH5714dM7vL62v/GjD5XybyQbjLnw/\nzrfy5IudmkC9ezVDLpfVe6ibW8i+nbcmLkN0xnau1NqtW9lOJ8bUL3YD8iVT\nAl9uwL+OkdgSb8c+Y7Sje3fdZsOzzXH/jzDcc9f0LhQHE91VLYoUHG4pY8h2\nMV3/bBBGeM0oqItU1Lpzcy7t+6ArzSl1YDuUUgIpKZqpqWgX1ibcy0+65SfJ\neunn1cN3xBv6hoLfCbWSkxNWyqTKbJhtrohGVwD9ZZBUn1ZWjw9dlhme2K4i\neYHujZW0VMMCQFpKwEUAIgaX88aTaFw3hecKy/9uzfXGmtXtDEAAQ7FO8B8y\n4I0eBBRhx2zAcoCrjVVLJ/MgNbHM4Ye883gLI1iVZEDGJa/aEHvbSjT2oYSF\na9MmvfmvUq+OMhG1U8lFGuiSN44WL4CdvTrtuVZDbFx2uWmBCfl3fye8oKRf\nuMWnxSZ7QV+Z4RdQHNqcuNQ6kQNZBQ9xjbWcaHSMx3pwn2pixfVCCVNlPz4+\n3BRUC04oRCZjKiQoNmYPXd+7a0cVEjAZhTseojvt9hDv4mDvnwyBKXw4MUfI\neubVXhkUdvZGvawUqT8gn6AzfLIzM99VNk05K+upjwUXVdb+gHTkSsMhA5ze\nwg7G\r\n=i9f7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwsPYb74BiUKxaN96FfGVbGdd7c6S8s8LVBz57Y3FmjAIgN2UY4j2Bw/YZ8n7VpECyKtoUoFicm1c7492dD4bXjF4="}]},"maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/common-env_6.4.0_1591124780214_0.3815135012576485"},"_hasShrinkwrap":false}},"readme":"\n<div align=\"center\">\n  <img src=\"https://cdn.rawgit.com/egoist/fa2efce43aa2f62e39bbc363bf2240b7/raw/c17a8a5bf5981c32d7b38bbf2dcd88866ef1c8b1/gear.svg\" alt=\"\">\n  <br><p><strong>common-env</strong> configuration through <a href=\"http://blog.honeybadger.io/ruby-guide-environment-variables\">environment variables</a> finally done right.</p>\n</div>\n\n[![Build Status](https://img.shields.io/circleci/project/github/FGRibreau/common-env.svg)](https://circleci.com/gh/FGRibreau/common-env/) [![Coverage Status](https://img.shields.io/coveralls/FGRibreau/common-env/master.svg)](https://coveralls.io/github/FGRibreau/common-env?branch=master) [![Deps](\thttps://img.shields.io/david/FGRibreau/common-env.svg)](https://david-dm.org/FGRibreau/common-env) [![NPM version](https://img.shields.io/npm/v/common-env.svg)](http://badge.fury.io/js/common-env) [![Downloads](http://img.shields.io/npm/dm/common-env.svg)](https://www.npmjs.com/package/common-env)\n\n[![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/francois-guillaume-ribreau?utm_source=github&utm_medium=button&utm_term=francois-guillaume-ribreau&utm_campaign=github) [![available-for-advisory](https://img.shields.io/badge/available%20for%20consulting%20advisory-yes-ff69b4.svg?)](http://bit.ly/2c7uFJq) ![extra](https://img.shields.io/badge/actively%20maintained-yes-ff69b4.svg)\n\n# Philosophy\n\nHere is my principle:\n\n[![uslide_52](https://cloud.githubusercontent.com/assets/138050/8478738/8eba09f0-20d3-11e5-9fa7-43d952bacb99.png)](https://www.uslide.io/presentations/Aw6sX5ug-Tfzw5rNXAmdJg)\n\n[See the talk (in french) about the why [15:23-21:30]](https://www.uslide.io/presentations/Aw6sX5ug-Tfzw5rNXAmdJg)\n\n\\* besides i18n translation key and things like that of course (well, now that we've got symbols in ES6...)\n\n# NPM\n\n```shell\nnpm install common-env\n```\n\n#### Usage\n\n```javascript\nvar env = require('common-env')();\nvar config = env.getOrElseAll({\n  amqp: {\n    login: {\n      $default: 'guest',\n      $aliases: ['ADDON_RABBITMQ_LOGIN', 'LOCAL_RABBITMQ_LOGIN']\n    },\n    password: 'guest',\n    host: 'localhost',\n    port: 5672\n  }\n});\n\nt.strictEqual(config.amqp.login, 'plop'); // converted from env\n```\n\n\n#### env.getOrDie(envVarName)\n\n#### env.getOrElse(envVarName, default)\n\n#### env.getOrElseAll(object)\n\n`getOrElseAll` allows you to specify a configuration object with default values that will be resolved from environment variables.\n\nLet say we start a script with `AMQP_LOGIN=plop AMQP_CONNECT=true AMQP_EXCHANGES[0]_NAME=new_exchange FACEBOOK_SCOPE=\"user,timeline\" FACEBOOK_BACKOFF=\"200,800\" node test.js` with `test.js` defined as follow:\n\n```javascript\nvar env = require('common-env')();\n\nvar config = env.getOrElseAll({\n  amqp: {\n    login: 'guest',\n    password: 'guest',\n    host: 'localhost',\n    port: 5672,\n    connect: false,\n    exchanges:[{\n      name: 'first_exchange'\n    },{\n      name: 'second_exchange'\n    }]\n  },\n\n  FULL_UPPER_CASE: {\n    PORT: 8080\n  },\n\n  facebook:{\n    scope:['user', 'timeline', 'whatelse'],\n    backOff: [200, 500, 700]\n  },\n\n  MICROSTATS: {\n    HASHKEY: 'B:mx:global'\n  }\n});\n\nt.strictEqual(config.amqp.login, 'plop'); // extracted and converted from env\nt.strictEqual(config.amqp.port, 5672);\nt.strictEqual(config.amqp.connect, true); // extracted and converted from env\nt.strictEqual(config.amqp.exchanges[0].name, 'new_exchange'); // extracted from env\nt.strictEqual(config.FULL_UPPER_CASE.PORT, 8080);\nt.strictEqual(config.facebook.scope, ['user', 'timeline']); // extracted and converted from env\nt.strictEqual(config.facebook.backoff, [200, 800]); // extracted and converted from env\n```\n\n#### Events\n\nCommon-env will emit the following events:\n\n- `env:fallback(key, $default)`: each time a environment key was not found and that common-env fallback on `$default`.\n- `env:found(key, value, $default)`\n\n```javascript\n// let say NODE_ENV was set to \"production\"\n\nvar env = require('common-env')();\n\nvar config = env\n      .on('env:found', function (fullKeyName, value, $secure) {\n        value = $secure ? '***' : value;\n        console.log('[env] %s was defined, using: %s', fullKeyName, String(value));\n      })\n      .on('env:fallback', function (fullKeyName, $default, $secure) {\n        $default = $secure ? '***' : $default;\n        console.log('[env] %s was not defined, using default: %s', fullKeyName, String($default));\n      })\n      .getOrElseAll({\n        node: {\n          env: 'production'\n        },\n        redsmin: {\n          gc: {\n            enabled: false\n          }\n        }\n      });\n\n// Will print\n\n// [env] NODE_ENV was defined, using: production\n// [env] REDSMIN_GC_ENABLED was not defined, using default: false\n```\n\n#### Specifying multiple aliases\n\nIt's sometimes useful to be able to specify aliases, for instance [Clever-cloud](http://clever-cloud.com) or [Heroku](https://heroku.com) expose their own environment variable names while your application's internal code may not want to rely on them. You may not want to depend on your hosting provider conventions.\n\nCommon-env adds a [layer of indirection](http://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering) enabling you to specify environment aliases that won't impact your codebase.\n\n#### How to handle environment variable arrays\n\nSince **v6**, common-env is able to read arrays from environment variables. Before going further, please don't forget that **environment variables do not support arrays**, thus `MY_ENV_VAR[0]_A` is not a valid environment variable name, as well as `MY_ENV_VAR$0$_A` and so on. In fact, the only supported characters are `[0-9_]`. But since we wanted **a lot** array support [we had to find a work-around](https://github.com/FGRibreau/common-env/issues/6).\n\nAnd here is what we did:\n\n| Configuration key path | Generated environment key |\n|---|---|\n| amqp.exchanges[0].name | AMQP_EXCHANGES__0_NAME |\n| amqp.exchanges[10].name | AMQP_EXCHANGES__10_NAME |\n\nAs you can see, we a replacing `[0]`, with `__0` and thus common-env is compliant with the limited character support while providing an awesome abstraction for configuration through environment variables.\n\nNote that **only the first element** of the array will be used as a **description** for every other element of the array. So in the following code:\n\n```js\nconst config = env.getOrElseAll({\n  mysql: {\n    hosts: [{\n      host: '127.0.0.1',\n      port: 3306\n      }, {\n      auth: {\n        $type: env.types.String,\n        $secure: true\n      }\n    }]\n  }\n});\n```\n\nonly the first object\n\n`{\n  host: '127.0.0.1',\n  port: 3306\n}`\n\nwill be used as a *type* template for every defined elements.\n\nOne last thing, common-env is smart enough to build plain arrays (not sparse), so if you defined `MYSQL_HOSTS__10_PORT=3310`, `config.mysql.hosts` will contains **10 objects** as you thought it would.\n\n#### How to specify environment variable arrays\n\nCommon-env is able to use arrays as key values for instance:\n\n```javascript\n// test.js\nvar env = require('common-env')();\nvar config = env.getOrElse({\n  amqp:{\n    hosts:['192.168.1.1', '192.168.1.2']\n  }\n});\n\nconsole.log(config.amqp.hosts);\n```\n\nRunning the above script we can override `amqp.hosts` values with the `AMQP_HOSTS` environment variable we get:\n\n```shell\n$ node test.js\n['192.168.1.1', '192.168.1.2']\n$ AMQP_HOSTS='127.0.0.1' node test.js\n['127.0.0.1']\n$ AMQP_HOSTS='88.23.21.21,88.23.21.22,88.23.21.23' node test.js\n['88.23.21.21', '88.23.21.22', '88.23.21.23']\n```\n\n#### How to specify environment variable arrays using $aliases\n\n```javascript\n// test.js\nvar env = require('common-env')();\nvar config = env.getOrElse({\n  amqp:{\n    hosts:{\n      $default: ['192.168.1.1', '192.168.1.2'],\n      $aliases: ['ADDON_RABBITMQ_HOSTS', 'LOCAL_RABBITMQ_HOSTS']\n    }\n  }\n});\n\nconsole.log(config.amqp.hosts);\n```\n\nRunning the above script we can override `amqp.hosts` values with the `ADDON_RABBITMQ_HOSTS` or `LOCAL_RABBITMQ_HOSTS` environment variable aliases we get:\n\n```shell\n$ node test.js\n['192.168.1.1', '192.168.1.2']\n$ ADDON_RABBITMQ_HOSTS='127.0.0.1' node test.js\n['127.0.0.1']\n$ LOCAL_RABBITMQ_HOSTS='88.23.21.21,88.23.21.22,88.23.21.23' node test.js\n['88.23.21.21', '88.23.21.22', '88.23.21.23']\n```\n\nAliases don't supports arrays in their names and never will.\n\n\n##### fail-fast behaviour\n\nIf `$default` is not defined and no environment variables (aliases included) resolve to a value then common-env will throw an error. This error should not be caught in order to make the app crash, following the [fail-fast](https://en.wikipedia.org/wiki/Fail-fast) principle.\n\n### How to define type converters\n\nSince common-env uses `$default` to infer the environment variable type, if `$default` is not available common-env won't be able to use the right type, for instance:\n\n```js\n// ...\nvar config = env.getOrElseAll({\n redis:{\n   hosts: {\n      $aliases: ['REDIS_ADDON_PORTS']\n   }\n }\n});\n```\n\n`config.redis.ports` should be **an array of number** but instead common-env will fallback to a string because it can't infer what should be the type of `config.redis.ports`. That's where `$type` is handy if gives you a way to tell common-env how it should convert the value:\n\n```js\n// ...\nvar config = env.getOrElseAll({\n redis:{\n   hosts: {\n      $aliases: ['REDIS_ADDON_PORTS'],\n      $type: env.types.Array(env.types.Number)\n   }\n }\n```\n\n*Note that `$aliases` isn't mandatory with `$type`.*\n\nAs of today, currently supported types are:\n\n- `env.types.String`\n- `env.types.Integer`\n- `env.types.Float`\n- `env.types.Boolean`\n- `env.types.Array(env.types.String)`\n- `env.types.Array(env.types.Integer)`\n- `env.types.Array(env.types.Float)`\n- `env.types.Array(env.types.Boolean)`\n\n\n#### How common-env resolves environment variables\n\nLet's take the following configuration object:\n\n```javascript\n{\n  amqp: {\n    login: {\n      $default: 'guest',\n      $aliases: ['ADDON_RABBITMQ_LOGIN', 'LOCAL_RABBITMQ_LOGIN']\n    },\n    password: 'guest',\n    host: 'localhost',\n    port: 5672\n  }\n}\n```\n\nHere is how common-env will resolve `amqp.login`:\n\n- Common-env will first read `ADDON_RABBITMQ_LOGIN` environment variable, if it exists, its value will be used.\n- If not common-env will read `LOCAL_RABBITMQ_LOGIN`, if it exists, its value will be used.\n- If not common-env will read `AMQP_LOGIN`, if it exists, its value will be used.\n- If not common-env will fallback on `$default` value.\n\n<p align=\"center\">\n<img style=\"width:100%\" src=\"./docs/Thumbs-Up-Gif.gif\"/>\n</p>\n\n\n#### How to retrieve old common-env logging behaviour\n\nCommon-env 1.x.x-2.x.x was displaying logs, here is how to retrieve the same behaviour in 3.x.x.\n\n```javascript\nvar logger = console;\nvar config = require('common-env/withLogger')(logger).getOrElseAll({\n  amqp: {\n    login: {\n      $default: 'guest',\n      $aliases: ['ADDON_RABBITMQ_LOGIN', 'LOCAL_RABBITMQ_LOGIN']\n    },\n    password: 'guest',\n    host: 'localhost',\n    port: 5672\n  }\n});\n\n```\n\n#### How to set silent (or secure) values in output logger\n\n```javascript\nvar logger = console;\nvar config = require('common-env/withLogger')(logger).getOrElseAll({\n  amqp: {\n    password: {\n      $default: 'guest',\n      $secure: true\n    }\n  }\n});\n\n// Console output:\n// [env] AMQP_PASSWORD was not defined, using default: ***\"\n// [env] AMQP_PASSWORD was defined, using: ***\"\n```\n\n#### [Changelog](/CHANGELOG.md)\n\n## Donate\n\nI maintain this project in my free time, if it helped you please support my work [via paypal](https://paypal.me/fgribreau) or [Bitcoins](https://www.coinbase.com/fgribreau), thanks a lot!\n","maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"time":{"modified":"2022-06-13T06:35:43.339Z","created":"2014-12-23T21:46:05.003Z","1.0.0":"2014-12-23T21:46:05.003Z","1.1.0":"2015-01-14T09:00:36.259Z","1.2.0":"2015-03-26T09:40:53.704Z","1.2.1":"2015-04-22T15:11:55.123Z","2.0.0":"2015-04-22T15:23:50.992Z","2.1.0":"2015-05-18T14:23:47.418Z","2.1.1":"2015-05-18T14:25:10.605Z","2.2.0":"2015-05-19T14:01:22.728Z","3.0.0":"2015-05-19T16:08:03.832Z","3.0.1":"2015-05-19T16:10:54.393Z","4.0.0":"2015-05-19T16:21:58.505Z","4.0.1":"2015-05-20T08:31:56.397Z","4.1.0":"2015-07-02T13:52:36.118Z","5.0.0":"2015-08-24T16:11:55.469Z","5.1.0":"2015-11-04T16:58:22.946Z","5.2.0":"2015-11-10T14:47:31.371Z","5.2.1":"2016-01-25T08:28:07.743Z","5.3.0":"2016-07-29T17:27:26.075Z","5.4.0":"2016-08-08T13:15:28.950Z","6.0.0":"2016-08-23T15:07:45.166Z","6.0.1":"2016-11-02T14:56:10.486Z","6.1.0":"2016-11-22T16:07:59.647Z","6.2.0":"2018-10-24T19:35:28.600Z","6.3.0":"2018-10-29T17:55:27.881Z","6.3.1":"2019-12-23T16:13:54.762Z","6.4.0":"2020-06-02T19:06:20.390Z"},"homepage":"https://github.com/FGRibreau/common-env","repository":{"type":"git","url":"git+https://github.com/FGRibreau/common-env.git"},"author":{"name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com","url":"http://fgribreau.com/"},"bugs":{"url":"https://github.com/FGRibreau/common-env/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["environment","configuration","process.env","env","var","getenv","variables"],"users":{"feedhenry":true}}