{"_id":"require-environment-variables","_rev":"21-d498a92036421f35a569c77d8379ffab","name":"require-environment-variables","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"require-environment-variables","version":"1.0.0","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.0.0","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"a52194bffe8ed71248ddacf6eeb20df979e6a7d5","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.0.0.tgz","integrity":"sha512-P8IUcj7Lp5PQY3z3xwFbIev9Oso2wsnCEswmGTE9axj2TZ01E4Kbiix80uflPubF8c6pEPH0OS2JXedq1vStRQ==","signatures":[{"sig":"MEUCIAihTnL4tDtFudsja4g6sgQye1jb217Dm+BE72r1nOtGAiEAtBqD/Xhk6FarCB5dfKtuSJfjBYyuGtHnpJbBnAYuhQ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"a52194bffe8ed71248ddacf6eeb20df979e6a7d5","engines":{"node":">= 0.10.0"},"gitHead":"bbc38ceec6d0432ba81a5a59540e56673d9618a5","scripts":{},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"https://github.com/bjoshuanoah/require-environment-variables","type":"git"},"_npmVersion":"2.5.1","description":"Express middleware that blocks referral spam, and sends a 404.","directories":{},"_nodeVersion":"0.12.0"},"1.0.1":{"name":"require-environment-variables","version":"1.0.1","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.0.1","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"fdd751fdd231c5f4108a293d5c80520c03b57b95","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.0.1.tgz","integrity":"sha512-81XG2jFnsU8FuO2nBJpp7sv3fqYB+Xr5+YKj2bjqlx2qT7k9c4QFu9R/cBs9kkQWsb1DKm7uMUbSQJijVBgPkA==","signatures":[{"sig":"MEUCIFod9KMTPJGdgFStN4cpaLpUgzu9VOcuC2KobxiVcEkRAiEAjCZZ/O8uESy9cmr4bqEmmqR9I0aMwD9b6FzG2AbuHcE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"fdd751fdd231c5f4108a293d5c80520c03b57b95","engines":{"node":">= 0.10.0"},"gitHead":"52b5aa2b3262b5bb4918ddd4ebec6d968328cda4","scripts":{},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"https://github.com/bjoshuanoah/require-environment-variables","type":"git"},"_npmVersion":"2.5.1","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"0.12.0"},"1.0.2":{"name":"require-environment-variables","version":"1.0.2","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.0.2","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"83df21cb3533a0fcd0b4d0d854807a4b4d0fe379","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.0.2.tgz","integrity":"sha512-ZIMIdXYeG5NcS3T0+Qk2HRIX03khWMA2Fh6yHGR+4KvMFai7jAm3jScBn+tAWJWpoZHRIGYMlGa300ltIzlkdA==","signatures":[{"sig":"MEYCIQCjO/vjllNjh1a0jH861ZwoGRJ3FVunUQzu64EHaoVR+gIhAIc3LAillanfRj57jEpHxkHvhevZuuMRfUISBXRMZpnI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"83df21cb3533a0fcd0b4d0d854807a4b4d0fe379","engines":{"node":">= 0.10.0"},"gitHead":"6e611ebe4c98aa8702e819212e211cb654de8577","scripts":{},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"https://github.com/bjoshuanoah/require-environment-variables","type":"git"},"_npmVersion":"2.5.1","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"0.12.0"},"1.1.0":{"name":"require-environment-variables","version":"1.1.0","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.1.0","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"b6c28aea5f75ab8b8d7a5da47d5393620fff52e6","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.1.0.tgz","integrity":"sha512-0YrgZ5y0Hlhl7VJxVJdB556M0tJYhoX9T6coC9Xc2I9QZ+V0HzGB+mwBEuiGbzIF0+Y8NnqFsQ/Zb8JZJVtVAg==","signatures":[{"sig":"MEUCIQD5UV8H7mO+BNX5He2lF+HuRpXtzrQJH6l4g9uJ/i6FAgIgJNLnelgIo6BYBoNgpaXnrfLa3RHeJobdFHGiyq7LP5o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"b6c28aea5f75ab8b8d7a5da47d5393620fff52e6","engines":{"node":">= 0.10.0"},"gitHead":"300697aac5f64e21df4d4c703abbbe275b1dcdf2","scripts":{"test":"mocha tests/**/*.spec.js"},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"https://github.com/bjoshuanoah/require-environment-variables","type":"git"},"_npmVersion":"2.5.1","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"0.12.0","dependencies":{"npm":"^2.10.0","chai":"^2.3.0","mocha":"^2.2.5","dotenv":"^1.1.0","install":"^0.1.8"}},"1.1.1":{"name":"require-environment-variables","version":"1.1.1","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.1.1","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"08e0dff437685bece4a0b0ea01c91c3140eee9aa","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.1.1.tgz","integrity":"sha512-9H2KOA4x4T4+SER7u5MsUdMZenCF9HJihqklF8eDPGJMpTwSY21ayAqXDWYJ8jurHgqE92e31QNROxikb8r22g==","signatures":[{"sig":"MEUCIQCUpTw6jJJwoO9JWFfg3a6lvec/y63NLbTMUin4dUjuxwIga8Lrv45Okg8TNtl2/NfLilQelZNOCUGVd1PCViPbabQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"08e0dff437685bece4a0b0ea01c91c3140eee9aa","engines":{"node":">= 0.10.0"},"gitHead":"216778fb45527401166f6cb042626d805e3db876","scripts":{"test":"mocha tests/**/*.spec.js"},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"https://github.com/bjoshuanoah/require-environment-variables","type":"git"},"_npmVersion":"2.5.1","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"0.12.0","dependencies":{"npm":"^2.10.0","chai":"^2.3.0","mocha":"^2.2.5","dotenv":"^1.1.0","install":"^0.1.8"}},"1.1.2":{"name":"require-environment-variables","version":"1.1.2","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.1.2","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"},{"name":"jcblw","email":"jacoblowe2.0@gmail.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables#readme","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"50b1b48343aa814931b0eb961aba64f0bb7795fd","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.1.2.tgz","integrity":"sha512-3nb0viHTjjTEPi/eV8OSECATczBqnRrkBbNfnc6vPpIPiEbN3Aj9HZrtz3QuxyBNEgPhLTkSupvWjDH/yNgWyg==","signatures":[{"sig":"MEUCIB87oL5YTbeJLJ7HJoNhYXAlOa7/ytHQLlWWlyHZsQ+gAiEAk70iv8IGqBRQYAUv0WteCXAJyBozu3C35+xLMXYjrgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["Readme.md","index.js"],"_shasum":"50b1b48343aa814931b0eb961aba64f0bb7795fd","engines":{"node":">= 0.10.0"},"gitHead":"64a233e4dd5dd7d5f85ee8be2ed9ddb0753cfdc7","scripts":{"test":"mocha tests/**/*.spec.js"},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"git+https://github.com/bjoshuanoah/require-environment-variables.git","type":"git"},"_npmVersion":"2.14.7","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"4.2.1","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","dotenv":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/require-environment-variables-1.1.2.tgz_1461626606519_0.7693138134200126","host":"packages-12-west.internal.npmjs.com"}},"1.2.0":{"name":"require-environment-variables","version":"1.2.0","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@1.2.0","maintainers":[{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"},{"name":"jcblw","email":"jacoblowe2.0@gmail.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables#readme","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"535f9e9f7faba04e007b79ce77937b2cc8d47dc6","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-1.2.0.tgz","fileCount":4,"integrity":"sha512-bh40t3apeg3RYpcee5UKH+U5K411+V4ZkekRlI+z3EcMuyej6YdnIuRt0PhIBeyuRCslRd/W3dLaPipLCKqZRA==","signatures":[{"sig":"MEUCIFAixQwE8QkxYg8uFc5XYDW5Vt7Vuar1USincZg2jDakAiEApY614HV6HXaHAJI41gs5p99Y3cN3lTu4fQ4dPiKOZQ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtOTXCRA9TVsSAnZWagAAIMEP/3IpNdzYxXmiReTzutcx\n6IWkmIJGF4ToPlBdAxpiZ+w8ZpyJ5g6GOQSDHd1naPrKn4VyQ5V1kfJwMurm\nuniJ1CHJ38Z+yiivSjD93Dn3Cxiv3CXTIBs8xMa6/cbizJ9Az0My74XZ790a\n4QN3nE8r3YbpeZ28SqtpVJUrauh8a/EsSeQzPaJJhHbUA5EG1m93FfkB0Nb1\n+Fslf4ytNnXoOP2BHp/T8R9x4xJRDKtU2f39IgI19gKzXts3xfuHQbrtPdL9\n1F7eH1HXpJfJsSeo87QPvSJXKorUHs5jndmXXH2uv/op/RABRgOBUKyHajGN\n/9O/EjvJjhxX8MNi5CvvvwQZm2vadgFETByarK8SPlHqSis+feT3AftYN521\ne1mDbIdoX5THWVW6UMryxqEWHGcEWF8aMVxAhhXaB7HHSwJr2Z3X7YvbTqx4\nFDptVQOnovIbulBUsaRYC8aimRRCMokcaTdjjPMd3wRHGtpC97eomw3s0vXL\njsT8jZSKjTpQcPJYdTqLrVJTBekUuxrGoInXA3W+Fm2L/Ur6xi7MHShMwQHl\nkWUj+3IPOPpdGPVUutUiOcG2eaLYtgRKRHjwvY76AZQfNQlgnXfEQVcKtt+I\n5DhhAueCCsluLPNe/W8PCEMPYTfkimA0S8IOzy+DS20FkNBtU1CSyIop2hg9\nMq8H\r\n=B0VE\r\n-----END PGP SIGNATURE-----\r\n"},"_from":".","_shasum":"535f9e9f7faba04e007b79ce77937b2cc8d47dc6","engines":{"node":">= 0.10.0"},"gitHead":"56fe6a3037d44fc3bea0b9c793f1da27e00145ba","scripts":{"test":"mocha tests/**/*.spec.js"},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"git+https://github.com/bjoshuanoah/require-environment-variables.git","type":"git"},"_npmVersion":"3.10.10","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"6.10.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","dotenv":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/require-environment-variables_1.2.0_1538581718952_0.13427849347933662","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"require-environment-variables","version":"2.0.0","keywords":["process","environment variables","dotenv"],"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","_id":"require-environment-variables@2.0.0","maintainers":[{"name":"~jcblw","email":"jacoblowe2.0@gmail.com"},{"name":"etanlubeck","email":"me@natelubeck.com"},{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"}],"homepage":"https://github.com/bjoshuanoah/require-environment-variables#readme","bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"dist":{"shasum":"135d4ea40e83f5a799d8a135eb9e6297426df982","tarball":"https://registry.npmjs.org/require-environment-variables/-/require-environment-variables-2.0.0.tgz","fileCount":3,"integrity":"sha512-eVVmApoLuEZI0DtQn3lbXi0JFcLQHddGpMmIFh/+2a/tCyHmhaSD5eFvMDIkzZ4daKvlFYC5bz3OwjULH/EzaQ==","signatures":[{"sig":"MEYCIQDCYcPHMkO7G1+gvZBETb1DEjAao9q5vivI9LGdXAJB8AIhAJX6LRJXyEiWTy5rYM2iNwZy4byed3dYJDXQ9yn4jPtT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2923},"main":"src/index.js","engines":{"node":">= 0.10.0"},"gitHead":"19e1b72ce6de76238ee377b887590c0fba567657","scripts":{"test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","preversion":"npm run build","postversion":"git push --follow-tags"},"_npmUser":{"name":"bjoshuanoah","email":"brianjoshuanoah@gmail.com"},"repository":{"url":"git+https://github.com/bjoshuanoah/require-environment-variables.git","type":"git"},"_npmVersion":"9.8.1","description":"Require specific environment variables. If they don't exist, the application exits","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","jest":"^28.1.1","mocha":"^10.2.0","dotenv":"^2.0.0","rimraf":"^3.0.2","ts-jest":"^28.0.4","typescript":"^4.7.3","@types/jest":"^28.1.1","@types/node":"^17.0.41"},"_npmOperationalInternal":{"tmp":"tmp/require-environment-variables_2.0.0_1697819883624_0.6267176835355892","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-05-20T21:49:18.044Z","modified":"2026-04-09T17:07:38.951Z","1.0.0":"2015-05-20T21:49:18.044Z","1.0.1":"2015-05-20T21:51:12.654Z","1.0.2":"2015-05-20T23:44:00.922Z","1.1.0":"2015-05-21T17:39:43.299Z","1.1.1":"2015-05-24T23:21:38.543Z","1.1.2":"2016-04-25T23:23:27.106Z","1.2.0":"2018-10-03T15:48:39.155Z","2.0.0":"2023-10-20T16:38:03.794Z"},"bugs":{"url":"https://github.com/bjoshuanoah/require-environment-variables/issues"},"author":{"name":"Brian Noah","email":"brianjoshuanoah@gmail.com"},"license":"MIT","homepage":"https://github.com/bjoshuanoah/require-environment-variables#readme","keywords":["process","environment variables","dotenv"],"repository":{"url":"git+https://github.com/bjoshuanoah/require-environment-variables.git","type":"git"},"description":"Require specific environment variables. If they don't exist, the application exits","maintainers":[{"email":"me@natelubeck.com","name":"etanlubeck"},{"email":"brianjoshuanoah@gmail.com","name":"bjoshuanoah"}],"readme":"# require-environment-variables [![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)\n\n## Install\n\nnpm\n    \n    npm install require-environment-variables --save\n\nyarn\n\n    yarn add require-environment-variables\n\n## Usage\n\njs\n    \n    const requireEnv = require(\"require-environment-variables\");\n    requireEnv(['GOOGLEANALYTICSID', 'SSLKEY', 'SSLCERT', 'SSLCA']);\n\nts\n\n    import requireEnv from 'require-environment-variables'\n    requireEnv(['GOOGLEANALYTICSID', 'SSLKEY', 'SSLCERT', 'SSLCA']);\n\n  If any of the environment variables(process.env.GOOGLEANALYTICSID) don't exist, the process exits with code 400\n\n## Contribute\n\n    Update and add tests to tests/**/*.spec.ts\n    Pull requests will verify that tests pass\n","readmeFilename":"README.md","users":{"drazisil":true,"etanlubeck":true,"bjoshuanoah":true,"nbcuniversalpaint":true}}