{"_id":"dotenv-safe","_rev":"471462","name":"dotenv-safe","description":"Load environment variables from .env and ensure they are defined","dist-tags":{"latest":"8.2.0"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"time":{"modified":"2021-08-05T08:20:09.000Z","created":"2015-10-07T05:04:14.173Z","8.2.0":"2019-11-14T20:44:25.536Z","8.1.0":"2019-08-20T18:35:02.755Z","6.1.0":"2018-10-09T17:55:11.633Z","6.0.0":"2018-06-07T19:27:16.518Z","5.0.1":"2018-02-20T19:11:08.032Z","5.0.0":"2018-02-19T21:05:47.794Z","4.0.4":"2017-04-28T14:07:17.617Z","4.0.3":"2017-01-08T18:22:55.421Z","4.0.2":"2017-01-04T00:15:44.947Z","4.0.1":"2017-01-02T23:16:27.623Z","4.0.0":"2017-01-02T15:22:15.140Z","3.0.0":"2016-11-06T22:00:44.801Z","2.3.3":"2016-10-28T06:37:21.434Z","2.3.2":"2016-09-18T07:23:43.675Z","2.3.1":"2016-03-29T23:07:54.009Z","2.3.0":"2016-03-24T19:51:13.670Z","2.2.0":"2016-01-06T00:33:27.871Z","2.1.1":"2015-12-11T16:28:33.017Z","2.0.1":"2015-12-11T15:46:07.217Z","2.0.0":"2015-11-06T15:36:20.818Z","1.0.2":"2015-10-07T15:10:40.698Z","1.0.1":"2015-10-07T15:07:45.389Z","1.0.0":"2015-10-07T05:04:14.173Z"},"users":{"garthk":true,"dickeysprogramming":true,"mrbgit":true,"mjurincic":true,"shriek":true,"edmundo096":true,"serge-nikitin":true,"galkin":true,"arnold-almeida":true,"mmork":true,"dancrumb":true,"igorshubovych":true,"nickgogan":true,"rocket0191":true,"ishanmarikar":true,"maxblock":true},"author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"versions":{"8.2.0":{"name":"dotenv-safe","version":"8.2.0","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^8.2.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^5.6.1","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^5.2.0"},"gitHead":"9f30cef1805595fcc6d07743fe1ebfdfcb0758f5","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@8.2.0","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"8d548c7318a62c09a66c4dc8c31864cc007c78ba","size":4877,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-8.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-8.2.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_8.2.0_1573764265396_0.5040804593149015"},"_hasShrinkwrap":false,"publish_time":1573764265536,"_cnpm_publish_time":1573764265536},"8.1.0":{"name":"dotenv-safe","version":"8.1.0","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^8.1.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^5.6.1","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^5.2.0"},"gitHead":"a7c5a12689315ea30f3c371bff9812b93890343a","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@8.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"9046f1c9b70183d49275c0b6c383db37f432b346","size":4875,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-8.1.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_8.1.0_1566326102598_0.7857243286088549"},"_hasShrinkwrap":false,"publish_time":1566326102755,"_cnpm_publish_time":1566326102755},"6.1.0":{"name":"dotenv-safe","version":"6.1.0","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^6.1.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^5.6.1","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^5.2.0"},"gitHead":"ffe2b3393ab59db2371d4f8e682f525bd46d50fc","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@6.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"df6e72ced7d5bcfd9d870c9f656962a02197337b","size":4705,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-6.1.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_6.1.0_1539107711412_0.7870558857675944"},"_hasShrinkwrap":false,"publish_time":1539107711633,"_cnpm_publish_time":1539107711633},"6.0.0":{"name":"dotenv-safe","version":"6.0.0","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^6.0.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"4f5f4ea5c45b2c3077559b4aab6eb427062fed00","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@6.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"8e5e5a8a7b0f588d22a8d7e8000d21a8ec42194f","size":4535,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-6.0.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_6.0.0_1528399636438_0.7020885373275134"},"_hasShrinkwrap":false,"publish_time":1528399636518,"_cnpm_publish_time":1528399636518},"5.0.1":{"name":"dotenv-safe","version":"5.0.1","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^5.0.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"8341e6bd82b376ff398ef172881143bd48bcc4a7","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@5.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"8c4a79b8978fd4271b3d8ef17be2b2f04588af71","size":4567,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-5.0.1.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_5.0.1_1519153867966_0.7841107530869995"},"_hasShrinkwrap":false,"publish_time":1519153868032,"_cnpm_publish_time":1519153868032},"5.0.0":{"name":"dotenv-safe","version":"5.0.0","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^5.0.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"80cf41e3e3500d9e1d8d2e8a39e8489cbac5198e","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"c38ed8d8bf5b1c75ebde4ba563a456c5dfd6f652","size":4415,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-5.0.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-safe_5.0.0_1519074347695_0.753203268475398"},"_hasShrinkwrap":false,"publish_time":1519074347794,"_cnpm_publish_time":1519074347794},"4.0.4":{"name":"dotenv-safe","version":"4.0.4","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^4.0.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"54693d84d07bfaffaa346b0923289585a7010002","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@4.0.4","_shasum":"8b0e7ced8e70b1d3c5d874ef9420e406f39425b3","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.9.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"8b0e7ced8e70b1d3c5d874ef9420e406f39425b3","size":4287,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-4.0.4.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dotenv-safe-4.0.4.tgz_1493388435771_0.3331694547086954"},"directories":{},"publish_time":1493388437617,"_cnpm_publish_time":1493388437617,"_hasShrinkwrap":false},"4.0.3":{"name":"dotenv-safe","version":"4.0.3","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rolodato@rolodato.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"^4.0.0"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"a6dab2b8184aa4af171cccaf5327cdeed387d536","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@4.0.3","_shasum":"3c98f69f6072f7b2d0df120a65add27ac2550029","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"3c98f69f6072f7b2d0df120a65add27ac2550029","size":4220,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-4.0.3.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-4.0.3.tgz_1483899773129_0.5279021793976426"},"directories":{},"publish_time":1483899775421,"_cnpm_publish_time":1483899775421,"_hasShrinkwrap":false},"4.0.2":{"name":"dotenv-safe","version":"4.0.2","description":"Load environment variables from .env and ensure they are defined","keywords":["dotenv"],"license":"MIT","author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"files":["index.js","config.js","MissingEnvVarsError.js"],"main":"index.js","repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"scripts":{"pretest":"eslint index.js config.js MissingEnvVarsError.js test/.","test":"HELLO=fromTheOtherSide mocha"},"dependencies":{"dotenv":"github:motdotla/dotenv#fdd0923e82e12a6e29b65898990201857141e75d"},"devDependencies":{"chai":"^3.5.0","eslint":"^3.12.2","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"c6ae330e7f69c05cd01be0ed5681437018de16a5","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@4.0.2","_shasum":"7d0c961c44948b76a8224798430a48a6cc9c09f8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"7d0c961c44948b76a8224798430a48a6cc9c09f8","size":4191,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-4.0.2.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dotenv-safe-4.0.2.tgz_1483488944254_0.5619497944135219"},"directories":{},"publish_time":1483488944947,"_cnpm_publish_time":1483488944947,"_hasShrinkwrap":false},"4.0.1":{"name":"dotenv-safe","version":"4.0.1","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && HELLO=fromTheOtherSide mocha -CR spec index.js"},"keywords":["dotenv"],"files":["index.js","config.js","MissingEnvVarsError.js"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"github:motdotla/dotenv#fdd0923e82e12a6e29b65898990201857141e75d"},"devDependencies":{"chai":"^3.5.0","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"6945fef3327509272c0f8528734942f2a13d718d","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@4.0.1","_shasum":"dda03ccf11ca3d20f38304a7b24ba064c3f37682","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"dda03ccf11ca3d20f38304a7b24ba064c3f37682","size":4143,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-4.0.1.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dotenv-safe-4.0.1.tgz_1483398987024_0.748325111810118"},"directories":{},"publish_time":1483398987623,"_cnpm_publish_time":1483398987623,"_hasShrinkwrap":false},"4.0.0":{"name":"dotenv-safe","version":"4.0.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && HELLO=fromTheOtherSide mocha -CR spec index.js"},"keywords":["dotenv"],"files":["index.js","config.js"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"github:motdotla/dotenv#fdd0923e82e12a6e29b65898990201857141e75d"},"devDependencies":{"chai":"^3.5.0","fs-extra":"^1.0.0","lodash.clonedeep":"^4.5.0","mocha":"^2.4.5"},"gitHead":"7ef475d1a2d8e0866f0e37d711c134fe8e48b3dd","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@4.0.0","_shasum":"b0bda9f88dea9b25387e25839ba552fdb9d59cc7","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"rolodato","email":"rolodato@rolodato.com"},"dist":{"shasum":"b0bda9f88dea9b25387e25839ba552fdb9d59cc7","size":3124,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-4.0.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-4.0.0.tgz_1483370533202_0.946953609585762"},"directories":{},"publish_time":1483370535140,"_cnpm_publish_time":1483370535140,"_hasShrinkwrap":false},"3.0.0":{"name":"dotenv-safe","version":"3.0.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && mocha -CR spec index.js"},"keywords":["dotenv"],"files":["index.js","config.js"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^2.0.0"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"gitHead":"81775d805bb357413aaa1a23539cbcb07c87d79c","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@3.0.0","_shasum":"6da9b185929c49f4e540fe6883150dd6c44c446f","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"dist":{"shasum":"6da9b185929c49f4e540fe6883150dd6c44c446f","size":2589,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-3.0.0.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-3.0.0.tgz_1478469642940_0.6678936744574457"},"directories":{},"publish_time":1478469644801,"_cnpm_publish_time":1478469644801,"_hasShrinkwrap":false},"2.3.3":{"name":"dotenv-safe","version":"2.3.3","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && mocha -CR spec index.js"},"keywords":["dotenv"],"files":["index.js","config.js"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^2.0.0"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"gitHead":"58f0860fdd122dfb99ef66bf80b4668cc4734d65","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.3.3","_shasum":"f35e09650527579bcc6e3565a7e2b6fcbbd44539","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"dist":{"shasum":"f35e09650527579bcc6e3565a7e2b6fcbbd44539","size":2565,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.3.3.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-2.3.3.tgz_1477636639326_0.5138440199662"},"directories":{},"publish_time":1477636641434,"_cnpm_publish_time":1477636641434,"_hasShrinkwrap":false},"2.3.2":{"name":"dotenv-safe","version":"2.3.2","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && mocha -CR spec index.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^2.0.0"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"gitHead":"1b3ca8e5e55ea1a58ef541baf8b7bd7ee721d0c8","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.3.2","_shasum":"26bde2a2704b66d5de56c4f41c2075db7090bad5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"dist":{"shasum":"26bde2a2704b66d5de56c4f41c2075db7090bad5","size":3294,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.3.2.tgz"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-2.3.2.tgz_1474183422175_0.5205775294452906"},"directories":{},"publish_time":1474183423675,"_cnpm_publish_time":1474183423675,"_hasShrinkwrap":false},"2.3.1":{"name":"dotenv-safe","version":"2.3.1","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && mocha -CR spec index.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"gitHead":"131257568566c56531726bf04d4b8bddd11ef4dc","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.3.1","_shasum":"9dd15539e89650d20fc48f8cdeae5a697937243e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"9dd15539e89650d20fc48f8cdeae5a697937243e","size":3335,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.3.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dotenv-safe-2.3.1.tgz_1459292873108_0.11517014540731907"},"directories":{},"publish_time":1459292874009,"_cnpm_publish_time":1459292874009,"_hasShrinkwrap":false},"2.3.0":{"name":"dotenv-safe","version":"2.3.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"cd test && mocha -CR spec index.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5"},"gitHead":"87c86139010f20ac4af32d8d77912ee97041b799","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.3.0","_shasum":"404e3e59708a675b43384088f7a2bbe683c6ec19","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"404e3e59708a675b43384088f7a2bbe683c6ec19","size":3298,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.3.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/dotenv-safe-2.3.0.tgz_1458849071099_0.34616078715771437"},"directories":{},"publish_time":1458849073670,"_cnpm_publish_time":1458849073670,"_hasShrinkwrap":false},"2.2.0":{"name":"dotenv-safe","version":"2.2.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"3670e4511ac5fffd4db54f0a1886ab64dd54d458","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.2.0","_shasum":"720252df900012bb4a2c3df2f5989e0056760f70","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"720252df900012bb4a2c3df2f5989e0056760f70","size":3035,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.2.0.tgz"},"directories":{},"publish_time":1452040407871,"_cnpm_publish_time":1452040407871,"_hasShrinkwrap":false},"2.1.1":{"name":"dotenv-safe","version":"2.1.1","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"8e889e4df618aae6b02fbf1f4dbf13a3df545b99","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.1.1","_shasum":"2eec07e69cdba6a8336bb67d37714a87b746eaa5","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"2eec07e69cdba6a8336bb67d37714a87b746eaa5","size":2891,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.1.1.tgz"},"directories":{},"publish_time":1449851313017,"_cnpm_publish_time":1449851313017,"_hasShrinkwrap":false},"2.0.1":{"name":"dotenv-safe","version":"2.0.1","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"f68308b2f82e45079fb6f7fa75f90401ad3debec","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.0.1","_shasum":"a151c7e3b314228879772f8d1965c4704669d23f","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"a151c7e3b314228879772f8d1965c4704669d23f","size":2825,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.0.1.tgz"},"directories":{},"publish_time":1449848767217,"_cnpm_publish_time":1449848767217,"_hasShrinkwrap":false},"2.0.0":{"name":"dotenv-safe","version":"2.0.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"f21a439829b2441b572faed5e76a139603ce9cbf","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@2.0.0","_shasum":"1f17718c4436d0242a0d6f22bceda7623c01c6c8","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"1f17718c4436d0242a0d6f22bceda7623c01c6c8","size":2839,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-2.0.0.tgz"},"directories":{},"publish_time":1446824180818,"_cnpm_publish_time":1446824180818,"_hasShrinkwrap":false},"1.0.2":{"name":"dotenv-safe","version":"1.0.2","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"d6869a52cbd026fd91c913f333abdaa0b1f3a7d3","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@1.0.2","_shasum":"1948c63248121b1f3f662a7f44dab16499d5575b","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"1948c63248121b1f3f662a7f44dab16499d5575b","size":2833,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-1.0.2.tgz"},"directories":{},"publish_time":1444230640698,"_cnpm_publish_time":1444230640698,"_hasShrinkwrap":false},"1.0.1":{"name":"dotenv-safe","version":"1.0.1","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"6099cf66707120288f05ef87b694db635c5f4e36","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@1.0.1","_shasum":"6f7d958356c2d0817bc34a3d51974836157d3614","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"6f7d958356c2d0817bc34a3d51974836157d3614","size":2831,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-1.0.1.tgz"},"directories":{},"publish_time":1444230465389,"_cnpm_publish_time":1444230465389,"_hasShrinkwrap":false},"1.0.0":{"name":"dotenv-safe","version":"1.0.0","description":"Load environment variables from .env and ensure they are defined","main":"index.js","scripts":{"test":"set -e && cd test && node **.js"},"keywords":["dotenv"],"repository":{"type":"git","url":"git://github.com/rolodato/dotenv-safe.git"},"author":{"name":"Rodrigo López Dato","email":"rlopezdato@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^1.2.0"},"devDependencies":{"assert":"^1.3.0"},"gitHead":"ba9e857306d8dea8c6f80239b1a05d048bbf3ef5","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"homepage":"https://github.com/rolodato/dotenv-safe#readme","_id":"dotenv-safe@1.0.0","_shasum":"4fc3c364c4b50005e77d35d2a5f6e9195bb5ec63","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"rolodato","email":"rlopezdato@gmail.com"},"maintainers":[{"name":"rolodato","email":"rolodato@rolodato.com"}],"dist":{"shasum":"4fc3c364c4b50005e77d35d2a5f6e9195bb5ec63","size":2824,"noattachment":false,"key":"/dotenv-safe/-/dotenv-safe-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotenv-safe/download/dotenv-safe-1.0.0.tgz"},"directories":{},"publish_time":1444194254173,"_cnpm_publish_time":1444194254173,"_hasShrinkwrap":false}},"readme":"# dotenv-safe\n\nIdentical to [`dotenv`](https://github.com/motdotla/dotenv), but ensures that all necessary environment variables are defined after reading from `.env`.\nThese needed variables are read from `.env.example`, which should be commited along with your project.\n\n[![Build Status](https://travis-ci.org/rolodato/dotenv-safe.svg)](https://travis-ci.org/rolodato/dotenv-safe)\n\n# Installation\n\n```\nnpm install --save dotenv-safe\n```\n\n```\nyarn add dotenv-safe\n```\n\n# Example\n\n```dosini\n# .env.example, committed to repo\nSECRET=\nTOKEN=\nKEY=\n```\n\n```dosini\n# .env, private\nSECRET=topsecret\nTOKEN=\n```\n\n```js\n// index.js\nrequire('dotenv-safe').config();\n```\n\nSince the provided `.env` file does not contain all the variables defined in\n`.env.example`, an exception is thrown:\n\n```\nMissingEnvVarsError: The following variables were defined in .env.example but are not present in the environment:\n  TOKEN, KEY\nMake sure to add them to .env or directly to the environment.\n\nIf you expect any of these variables to be empty, you can use the allowEmptyValues option:\nrequire('dotenv-safe').config({\n  allowEmptyValues: true\n});\n```\n\nNot all the variables have to be defined in `.env`, they can be supplied externally.\nFor example, the following would work:\n\n```\n$ TOKEN=abc KEY=xyz node index.js\n```\n\n# Usage\n\nRequiring and loading is identical:\n\n```js\nrequire('dotenv-safe').config();\n```\n\nThis will load environment variables from `.env` as usual, but will also read any variables defined in `.env.example`.\nIf any variables are already defined in the environment before reading from `.env`, they will not be overwritten.\nIf any variables are missing from the environment, a [`MissingEnvVarsError`](MissingEnvVarsError.js) will be thrown, which lists the missing variables.\nOtherwise, returns an object with the following format:\n\n```js\n{\n  parsed: { SECRET: 'topsecret', TOKEN: '' },          // parsed representation of .env\n  required: { SECRET: 'topsecret', TOKEN: 'external' } /* key-value pairs required by .env.example\n                                                          and defined by environment */\n}\n```\n\nIf all the required variables were successfully read but an error was thrown when trying to read the `.env` file, the error will be included in the result object under the `error` key.\n\n`dotenv-safe` compares the actual environment after loading `.env` (if any) with the example file, so it will work correctly if environment variables are missing in `.env` but provided through other means such as a shell script.\n\n## Preloading\n\nYou can use the `--require` (`-r`) command line option to preload dotenv-safe.\nBy doing this, you do not need to require and load dotenv in your application code.\nThis is the preferred approach when using import instead of require.\n\n```\n$ node -r dotenv-safe/config your_script.js\n```\n\n[See the dotenv README for more information]((https://github.com/motdotla/dotenv#preload)).\n\n## Continuous integration (CI)\n\nIt can be useful to depend on a different set of example variables when running in a CI environment.\nThis can be done by checking if the `CI` environment variable is defined, which is supported by virtually all CI solutions.\nFor example:\n\n```js\nrequire('dotenv-safe').config({\n  example: process.env.CI ? '.env.ci.example' : '.env.example'\n});\n```\n\n# Options\n\n[Same options and methods supported by `dotenv`](https://github.com/motdotla/dotenv#options).\n\n```js\nrequire('dotenv-safe').config({\n    allowEmptyValues: true,\n    example: './.my-env-example-filename'\n});\n```\n\n## `allowEmptyValues`\n\nIf a variable is defined in the example file and has an empty value in the environment, enabling this option will not throw an error after loading.\nDefaults to `false`.\n\n## `example`\n\nPath to example environment file.\nDefaults to `.env.example`.\n\n# Motivation\n\nI regularly use apps that depend on `.env` files but don't validate if all the necessary variables have been defined correctly.\nInstead of having to document and validate this manually, I prefer to commit a self-documenting `.env` file (no values, key names only) which can be used as a reference.\n","_attachments":{},"homepage":"https://github.com/rolodato/dotenv-safe#readme","bugs":{"url":"https://github.com/rolodato/dotenv-safe/issues"},"license":"MIT"}