{"_id":"@americanairlines/simple-env","_rev":"15-cd8d5f9a1204dd87e2152234a52f2273","name":"@americanairlines/simple-env","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@americanairlines/simple-env","version":"1.0.0","description":"Utils for environment variables","main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p src/ --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","dependencies":{},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-react":"^7.21.5","jest":"^26.6.3","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.1.2"},"gitHead":"e915959906f0dafbb4f80b156068748f15aeeb3a","_id":"@americanairlines/simple-env@1.0.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dXN7jjRsWAw9l1ALjiIZwUJjC3oGo5a0ppQnI31wTI9yjz12iupTS1ReOe2l6WMTsqEznTk6JfRKlZgC4SPppg==","shasum":"0c27d82765a6943821170bedae1650a3a27d567a","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.0.tgz","fileCount":19,"unpackedSize":18474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2S4FCRA9TVsSAnZWagAAVpoP/20xkorQ8DALex4ziUgN\nJdaMU3ktqJqBJ/1MZal1KRnSZRzUAU2+2Zmg2zE3Kw3+jupD0kCX8Cgf+jkR\n0iuKKgcbxPgMrOA94eBjcb5lnwdiBx84idSGeV0WRcYaj4dDnarrwMcPd4eN\nFKY0VOyGrvQoE44+ozqcUUjJVgAIK9HuuO2RXUpyZtWFXARPdAcBrFokn81X\nL4Ulas9njVAbp+4Mv4heNkOqYO1DTaqUMCYmaagKaiLo/fch0Qi7p//wHmm9\n124XlehzbcBZsHW1Krw3Uj/pZU7j9JOBgv68r3PKsW08gMWuI3hPh6Tu9/lM\nwwFMXZGUt/Kv9uEdRwztHGBkffzPm1a6NDKO9tJ5jXY67FECw1Nbapi+9OQE\naWNzo34ZPy48GbqKMzw7wXRQ2hWNaPgoyP3NVi+uV7E54Sc7Vnc/HFpkI1ow\nH9sD1GxFem9xTrlbCpPEdhw5C5fCfZuGSFCremHs0AYn1u1Ow66Xixre0p5n\nC+KNdyLySDym34UMXtMKVCTHgqTBSX4IC16XU2jvjA1zzY0kAKlozUkYJabF\nsNrCYWSFfmokDZVesK4eSsq9x+24bcFwSA0AiqDE+aASqwARN/5Zk+ddWhHM\nuc0KNi/iFErufEGKXGn/yz2Rr6iqhlCjQdaegDe4Bw2ZWT+Zx6rfn0fQcoXl\n13Ao\r\n=dhZV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUNJZR1TABt/r0WCCpAv35ttKM6Y3s1WPBrGdHE4UweAiEA4YtuVrGknP7lXASLzVaDk7hqKfliETvLsl1Qmey6C/4="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"johnkahn","email":"hello@jkahn.me"},{"name":"spencerkaiser","email":"skaiser@smu.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.0_1608068613253_0.27965697974892567"},"_hasShrinkwrap":false},"1.0.1":{"name":"@americanairlines/simple-env","version":"1.0.1","description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","keywords":["env","type","environment","variables","simple","typescript"],"main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p src/ --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","dependencies":{},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-react":"^7.21.5","jest":"^26.6.3","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.1.2"},"gitHead":"b5b1b8e4f5f2467bed4f788b527425b1ae273331","_id":"@americanairlines/simple-env@1.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-FY2cmos6z0x9DD3UsHGo0xeunOmdwRrPdgAjZcCrGZQoG6IEurY+UX6+q5ANKx8qdAlQdjnFPDavnWjUcTxOSg==","shasum":"1be500fca41c8aa4be7a285689f13b2886306996","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.1.tgz","fileCount":7,"unpackedSize":266344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2TSuCRA9TVsSAnZWagAAy4EP/3hvJLZ22OcuusMxEp7v\nnBo49slKLZfTF6suM2h+wPnjhknleEH8R94mRX7sqzE+cttAAeikgwD4nCYs\nrIpNfvcqJU3kfNjWCAIWFbr9OEvSY5fDzyjrMxemEF0J6ZG7Y/P603oKvmUJ\nNVgEaJ499yJhuCRbb6ZLNmUA53AbgJz21yJzyUjGQ7tX/jy2hhgDWJnkI+7t\nY/2npPdF4ElW8cyZRRLcx7CdRyBTDRkysD7v3Nv7IVnsrYrU0wRSKnMzDBL8\nPj1YpzD4KQipiUMYIOHXwTsmekMhTJIVhGJdxNyB7q7p6435twRzqAS7rwgA\nyQ+QeEXcrYZOfqEI9K9l8TQn1JQTahbt/a+2pMzlVhmNajIN+9/TQcC8bL7Y\ndIisEfbS+A57Qa8itX9gMCQYHjofgSUpVH/tQegPt7TsX4MjhwTU+5Xz8845\nqkNX2mUS7Ea87M35Sc/Za4DnIazeTHUF/Wg8w3iCyv+CZRDBhAX3Z/iOWIzE\nD0+gdJ7WxL/EeqMiQOkXlhF47U9FnZGeN1JLW07xgqB3fYBZAyspDySws5HD\nTD++I6emcLL1/QDjk5Yy0tt1izj/8S+nQxXEKtF+APZDbBY7hWBu+SmiuQ0w\nI+rgaH2GPc1L1ZZdwaEQDqcz7aQZ38/twtS4l6WELBo+T+3TRPC00BsbUaEU\n8Ame\r\n=fKfe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0+LAQRxWoQFdcp7BTy3rHhDcHZUasvYdn930a1yeHdAiEA3gnMXTtn1mosPylkz0MqGgXMaSD/KnPeKPoPlPLm16I="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"johnkahn","email":"hello@jkahn.me"},{"name":"spencerkaiser","email":"skaiser@smu.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.1_1608070317809_0.15497551652659536"},"_hasShrinkwrap":false},"1.0.2":{"name":"@americanairlines/simple-env","version":"1.0.2","description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","keywords":["env","type","environment","variables","simple","typescript"],"main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p src/ --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","dependencies":{},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-react":"^7.21.5","jest":"^26.6.3","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.1.2"},"gitHead":"a6de390c7abed41d1dd54e9e542dd691aa46aa84","_id":"@americanairlines/simple-env@1.0.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+K2gEfG8u6S9X/zFB+mapAn3wkKK6ZSQwDQvn6+WK4Qb3htBqgcR9OFlgEY9pgXadmrua+5uqgCdH4/SaiNY6g==","shasum":"d1990b98f35a319c9ab7d298d01ff483fb3f1eae","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.2.tgz","fileCount":18,"unpackedSize":269696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2mYBCRA9TVsSAnZWagAA/XMQAIuKk8UYgdOh1GmrSBze\neaMB0SOWe5Y/iOoOqDQL2yOwQEwQqj5Dz0Q1qjP9TC0FxMgVkclltzslCnZc\nICj+765SWe430tzz+ZwX1yanfHaQfLXtcah6CtrWTgBQfCLq6orcHMrLM/sz\nudUrbEHYsFuMm/SpStAz+KM121/IscNMDkZ/CF1sEr977xY5ij+16mHFXOqZ\nlJLGJ+iNt1kwhWKoB2gMK6WyNKPOiWiwc0/RFWbIKawZ48etH+RG6KH0Ux+2\n1twxECR2/Yh6LkIavbNp67ZHoxwXwnfEmJW0bAB+RE77CJQbdo8JmZvfkjgy\nouqUc6GJ2RJPt47zXL3f1WCdqpuDkeA0tqwm+YnNJI02UafaRZdLkbJSOSlv\ntfy8VwYCCWIw6C/J1flTfa7+GdmHfkwBXDlbiR3yFHy42Sb9RRprj3ygJxf3\neA9OSulRbhRKVn/DgeOpVTxSfyPcE1HmRVlw4N84xGQiA1MPECzSqK89bOAi\nNSbEP1AfUjTlHrFkDi9lIDE9EK3YKG92S60Jk2OFVs8Y/IIp3WGmALMwzHeM\nGyo5U4EpZK/YJwJzaXHzT3IW06eskKu7NA2wZL0yg5MSJ+D7JLjSy1Hqwsg3\nqaA4bvU0Q902EeGkKo2tIHdjTXiGQmC2OqOlVaGSwVNEjoNfvS/HSjRB3L1K\n6WRg\r\n=GNZ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC84loLkad3X/VRzywnAHWIw6Cw7NxBopr8lfYZC5SW/QIgY3VzR2ZrfNIohlrClOfITIX2ajULiMf3A0G7uOykK8Y="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"johnkahn","email":"hello@jkahn.me"},{"name":"spencerkaiser","email":"skaiser@smu.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.2_1608148481219_0.40969111468465846"},"_hasShrinkwrap":false},"1.0.3":{"name":"@americanairlines/simple-env","version":"1.0.3","description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","keywords":["env","type","environment","variables","simple","typescript"],"main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p src/ --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","dependencies":{},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-react":"^7.21.5","jest":"^26.6.3","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.1.2"},"gitHead":"cb165d1e95c85dfb69886f07adde360d221ca060","_id":"@americanairlines/simple-env@1.0.3","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Uvq8Bx+Iie5EX/jS0ziZ4TkRhExb+Fl4JohLUJvDUWAQS5GzY/q5R01uMzdTVA2O3JfYVajU4yh3fC/p0+mqpg==","shasum":"872467a061e1f246bb0e0aa515d2c95b3bc68927","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.3.tgz","fileCount":18,"unpackedSize":269693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPoOCRA9TVsSAnZWagAAP+sP/iR2AvrhFmZ7UERSIVWE\nTtQFAKeVO/MaqjMYTUCDLhcjxNJ/eK1ohGncr7O2CRHb/dx2M2+FzlIgUjbO\nhlkQS2rK52teV1XDz+pitMaVZ0mZUelFrNO9z0/vvgo9Xhkz3tb3zD+q9tFa\nja8uCpLTBHFnScxgXIhPJw+39OWL9yVfONjJc+iw221GOQWBNkAsSyOBe6+p\nEcq0NNJX/ysoxg7/nmSXWy1HWfgPgMD/k6YvWfAAIYKtC+9g8+/lvNoYjnZZ\nD5+8phjEHky47PUw9S66xR1D+fSdXIL0nefJCBqyPI/q8AL+8EhwRf6IBwnp\nshVb2oQuviIyHWNgqp9w3SxuO0T8zoolAEIf9UBMzp3lVUbzxWclD6Hcnh0m\nE+SX5w65GobcEPFk3r8v+r+gux36g3MEOiOsDURrBjnwR+qJjG1D2rB9tsNg\n+SrdckmA8lkklrIf1Me9O+3Cq13ACsznO4iKwcpzi8TQRcxAW4nA3ewpCWlT\nrCtIuSLyO9ScXzDAxAbn8N9YgtgSHPa876Q510ujD7VrB8RDTlz3dtCrfXYI\nUR7Gjq5DEIINsDXAsDgPCzpPO7PG/gvIDjJfn3l3D9DVMq7PlgkBw6gd74Jf\nyWVBCI6KPlZPO/T9p2h84i7dyECnb1r2yV+aSlKGxHlMIQ+2wOScVfrbAtFS\nfAQY\r\n=7OPC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWVZJutWWAXQnH8DtwgM94PR6BqxIuaReXPjqdkqJ/TAiEA8roGAd8yffmIb3ZH6wqWARA+j1gzF3K2Uj6H5Ey5NFc="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"johnkahn","email":"hello@jkahn.me"},{"name":"spencerkaiser","email":"skaiser@smu.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.3_1614608909417_0.9706897858175747"},"_hasShrinkwrap":false},"1.0.4":{"name":"@americanairlines/simple-env","version":"1.0.4","description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","keywords":["env","type","environment","variables","simple","typescript"],"main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p tsconfig.build.json --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write","tsc":"tsc -p tsconfig.build.json --noEmit --incremental false"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","dependencies":{},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","chalk":"^4.1.0","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-react":"^7.21.5","jest":"^26.6.3","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"^4.2.2"},"gitHead":"ab980c0783333c4a0971c11c975c4c29fe784512","_id":"@americanairlines/simple-env@1.0.4","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-wKahoPUV6zxW8jCuO4hmQZaCU3G2dHMmsY60LjGSHwYc4ZUmGTC8Dp5VHYmRaMQKzzlYPj0XNSK2Xk0fg0uq6Q==","shasum":"827af83fe39f4c9fd2bdf1b19cf7f00b9defd210","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.4.tgz","fileCount":19,"unpackedSize":330028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPnDqCRA9TVsSAnZWagAAaQQP/iINjFH6ddI4pc0mHOdk\nQR/6LWeQy3KzpNpeQPoOjclSP4mwaNtlXpX2xrnarI53gfmEH9/lJnW+b1Zj\nCSBbj1Zv4DBU+Z6Z3IZTbhOIbyW52DWm+AIfUxodo5CzfkT6cqAJueXUUIYN\nWLSk80l5DcI4eApbIOqqd0m70P5Fr/QbwLY7U6Vu1MWmMBRnKTYL7VhPjsgC\nNopNgmegUGjpVn3KWWfs+LHoiFoNwGKKbarQEBLFDoqJweLA/XAkXAa9TiSF\n2U0QK8vhcHgOLdcx4ElfZZ3v2TWJXZ+Nmcxd0a3vZvwgPYXycBNDjzdhco8F\njMmrDZSipOFK1eXAICzETI90TPiJ3+wbznNZ2ZN2uf2Mv2iM6E+yMnq4KRKn\nFUhunZJsI4O6Y+t+oBPRzNVbIOCQq1BthHSim28FP2T8jpvbRbmbOkUYjHEn\n5NOqGJdknEL/tiarjNKeNiJPdh/+XgYvOUCU20GJ73f++js7g5HLYQnrLIPH\nWK2rsNK8i2Z275PBwjb4yKL6pHL6Gcdfym7P4z6P81rqD5UCWhcsg/oNxhyH\nCkhFVr2B+ituL+Z44Mt9+iUPk3xuBG5rkrQxbLR7kOAhv23md7L6thwwkwP1\nZhgUTU3N/fR2/nsbs6xpEq0zlF+naG2x95UJtN1K2Nl9WHxz1WTXSblB1lXb\nUzXa\r\n=LeSc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6fxHYXH6P4uxSGCT9+W7XpDXy/oOzeQM/99ja/GEWBAiEAp+WSFaJaLEUKrTz99ZOwHbe0uVWbF/T+j7qLDbqP54c="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"johnkahn","email":"hello@jkahn.me"},{"name":"spencerkaiser","email":"skaiser@smu.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.4_1614704873919_0.18999047663631452"},"_hasShrinkwrap":false},"1.0.5":{"name":"@americanairlines/simple-env","version":"1.0.5","description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","keywords":["env","type","environment","variables","simple","typescript"],"main":"dist/index.js","scripts":{"test":"jest","test:coverage":"npm run test -- --coverage","build":"tsc -p tsconfig.build.json --pretty","build:watch":"npm run build -- -w","start":"node dist/index.js","start:watch":"nodemon -w dist -e js dist/index.js","dev":"npm-run-all -l build -p build:watch start:watch","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","checkstyle":"prettier -l \"src/**/*.ts\"","checkstyle:fix":"npm run checkstyle -- --write","tsc":"tsc -p tsconfig.build.json --noEmit --incremental false"},"repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"license":"MIT","bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"homepage":"https://github.com/AmericanAirlines/simple-env#readme","devDependencies":{"@types/jest":"^27.0.2","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","chalk":"^4.1.0","eslint":"^7.13.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^25.2.2","jest":"^27.3.1","nodemon":"^2.0.6","prettier":"^2.1.2","ts-jest":"^27.0.7","ts-node":"^9.0.0","typescript":"^4.2.2"},"gitHead":"52ba056d120a3e3399df46e8917fd9cb02006cb7","_id":"@americanairlines/simple-env@1.0.5","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-rEK8Ec+D/+wPtB69ovBtViXEy2oaAGkTzgmlxNUS6usYL62OFxJKWDGILjUeqXlY4+EJicIjKzPlZ0HUL6D+ug==","shasum":"216f8d662b99c24bb88e02e5c443c14d9aee85eb","tarball":"https://registry.npmjs.org/@americanairlines/simple-env/-/simple-env-1.0.5.tgz","fileCount":19,"unpackedSize":571503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFO3CRA9TVsSAnZWagAAIQwP/3iZgDelYwkmQJpniqnp\nSOqRXMVrPQpH3HXJ9vep31XyE7TNAUfznK9BDWQFuTxOuzYmQ1/wvBAs6P+P\nLUCyuz9PDw74kAj6lF1xSsgGcgOrv+anq6ZGj5pxlP6QfHWnQA9nMYL8Bne5\n/bfO9nWzUGK/ki411Iir0xnnXDCYOy7a8/44MDCIoqk+3/bTpnGgMO3F0TYq\nO6Lh98w6BDVhJFfX7mOEQPuFqzJNL+npj7TrkQqCCfH08ZomOzhAZ5x33IWq\nsHbf46cCZj87q6o8qFKwaAqnEl5/Tq0VJJ9nEzOEWlJAgHxbGGvt8vShLBnD\n9BSITxBjLJaMhOWQDQe2iX6xBi1I9yybZNcAiCVYWbpzCYkSXOM1U/0IjcZP\nFQZ26/YQvlYZdHMpkITueHdqR/+0LvFvDyD0IpFRtcXL4u3qFk/UBss1ai7b\nQf0UXpC7t7ye3g1plcFYIRRQew6ISsMkHLZSndRGd2MR3E6xt1jNhZWY3vTc\n8VkaSH9N3RUw5Xl+WG7VaEwxcrYezWHbKI2NHouJtqN33l+r5eGEV6NfZvtD\n/M268zh+5epqeweMo2nKL/5vsHKP4FGKxzW/jPEY8ce0uMiAd+sHdCospw+f\nQ3GURFjVYogKvLIeShAjK592XNTmYpeDPeSKQwm6SWS+aKYgOWai97cw3B7W\nUWCF\r\n=QwWu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBE2vcDO061SNT/x2cxEpu3E0vfd3hkB4urp3C9h934IAiANHGyxcInDz8Md2/TI3OcilozQ6rNbaanNxhDxWiC6Qw=="}]},"_npmUser":{"name":"spencerkaiser","email":"skaiser@smu.edu"},"directories":{},"maintainers":[{"name":"spencerkaiser","email":"skaiser@smu.edu"},{"name":"johnkahn","email":"hello@jkahn.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-env_1.0.5_1634664691454_0.3217320393456675"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-15T21:43:33.030Z","1.0.0":"2020-12-15T21:43:33.437Z","modified":"2023-08-04T20:02:27.060Z","1.0.1":"2020-12-15T22:11:57.933Z","1.0.2":"2020-12-16T19:54:41.343Z","1.0.3":"2021-03-01T14:28:29.732Z","1.0.4":"2021-03-02T17:07:54.315Z","1.0.5":"2021-10-19T17:31:31.645Z"},"maintainers":[{"email":"jpdeburgo.jp@gmail.com","name":"jpdeburgo"},{"email":"chandlerbrlw@gmail.com","name":"chandler-barlow"},{"email":"charlie.albright@aa.com","name":"charstar"},{"email":"shaun.alexander@aa.com","name":"shaunaa126"}],"description":"An intuitive, strongly typed, and scalable way to retrieve environment variables","homepage":"https://github.com/AmericanAirlines/simple-env#readme","repository":{"type":"git","url":"git+https://github.com/AmericanAirlines/simple-env.git"},"bugs":{"url":"https://github.com/AmericanAirlines/simple-env/issues"},"license":"MIT","readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Dependencies: 0](https://img.shields.io/badge/Dependencies-0-brightgreen.svg)](package.json)\n![Build and Publish](https://github.com/AmericanAirlines/simple-env/workflows/Build%20and%20Publish/badge.svg)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/AmericanAirlines/simple-env.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/AmericanAirlines/simple-env/alerts/)\n[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/AmericanAirlines/simple-env.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/AmericanAirlines/simple-env/context:javascript)\n[![codecov](https://codecov.io/gh/AmericanAirlines/simple-env/branch/main/graph/badge.svg)](https://codecov.io/gh/AmericanAirlines/simple-env)\n\n# `simple-env`\n\nAn intuitive, strongly typed, and scalable way to retrieve environment variables.\n\n# Installation\n\n```shell\n# Via npm\nnpm install @americanairlines/simple-env\n\n# Via Yarn\nyarn add @americanairlines/simple-env\n```\n\n# Usage\n\nCreate a file to manage your environment variables (either added via arguments or a `.env` file loaded with [`dotenv`](https://github.com/motdotla/dotenv)):\n\n```typescript\n// src/env.ts\nimport setEnv from '@americanairlines/simple-env';\n\nexport const env = setEnv({\n  required: {\n    nodeEnv: 'NODE_ENV',\n    someRequiredSecret: 'SOME_REQUIRED_SECRET',\n  },\n  optional: {\n    anOptionalSecret: 'AN_OPTIONAL_SECRET',\n  },\n});\n```\n\nImport `env` (or whatever you named your export) from your configuration file:\n\n```typescript\n// src/index.ts\nimport env from './env';\n\nconst someRequiredSecret = env.someRequiredSecret;\n```\n\n### Expected Behavior\n\n| Env Var Type  | State of Variable | Return Value/Behavior                  |\n| :-----------: | :---------------: | :------------------------------------- |\n|   optional    |        set        | ✅ Associated value returned as string |\n|   optional    |       unset       | ✅ `undefined` returned                |\n|   required    |        set        | ✅ Associated value returned as string |\n|   required    |       unset       | 💥 Runtime error                       |\n| N/A - Unknown |        ???        | 💥 Compilation error                   |\n\n> ⚠️ Retrieving an unset and `required` env variable at the root of a file will throw an error and **the app will fail to start**.\n\n# Why use `simple-env`?\n\nAutocomplete and Strongly Typed Keys are your new best friend! Using `simple-env` makes it easier for devs to utilize environment variables via autocomplete and requiring defined keys prevents typos and makes refactoring incredibly simple.\n\n| Feature                            | `simple-env` | `dotenv` | `env-var` |\n| :--------------------------------- | :----------: | :------: | :-------: |\n| Zero Dependencies                  |      ✅      |    ✅    |    ✅     |\n| JS/TS Support                      |      ✅      |    ✅    |    ✅     |\n| Required vs Optional Specification |      ✅      |    ❌    |    ✅     |\n| Autocomplete                       |      ✅      |    ❌    |    ❌     |\n| Strongly Typed Keys                |      ✅      |    ❌    |    ❌     |\n| Single Location Refactor           |      ✅      |    ❌    |    ❌     |\n| Return Type Helpers                |      🔜      |    ❌    |    ✅     |\n| Loads .env                         |      🔜      |    ✅    |    ❌     |\n\nLet's see how some of the features above look in code:\n\n```typescript\n// fileA.ts\nconst secret = process.env.SECRET;\n// fileB.ts\nconst secret = process.env.SECRE;\n\n// 👆 Brittle, susceptible to typos, weak types, and painful to refactor 😓\n\nconst env = setEnv({\n  required: { secret: 'SOMETHING_SECRET' },\n});\n\nconst secret = env.secret;\nconst secret = env.secre; // Property 'secre' does not exist on type '{ readonly secret: string; }'. Did you mean 'secret'? ts(2551)\n\n// 👆 Compilation errors on typos, autocompletes as you type, and env var key can be modified without needing to refactor everywhere 👌\n\nconst env = setEnv({\n  required: { requiredSecret: 'SOME_REQUIRED_SECRET' },\n  optional: { optionalSecret: 'SOME_OPTIONAL_SECRET' },\n});\n\nenv.requiredSecret.valueOf(); // No error\nenv.optionalSecret.valueOf(); // Object is possibly 'undefined'. ts(2532)\n\n// 👆 Extremely strong typing - it knows what's required vs optional, which helps you catch bugs faster 🐞\n```\n\n# Options\n\n`setEnv` accepts multiple optional arguments:\n\n### Required Env Vars\n\n```typescript\n// src/env.ts\nimport setEnv from '@americanairlines/simple-env';\n\nexport const env = setEnv({\n  required: {\n    nodeEnv: 'NODE_ENV',\n    someRequiredSecret: 'SOME_REQUIRED_SECRET',\n  },\n});\n```\n\n### Optional Env Vars\n\nYou can choose to only include `optional` env vars by passing in a single object:\n\n```typescript\n// src/env.ts\nimport setEnv from '@americanairlines/simple-env';\n\nexport const env = setEnv({\n  optional: {\n    anOptionalSecret: 'AN_OPTIONAL_SECRET',\n  },\n});\n```\n\n### Individual Assignment\n\nIf you want to set your env vars in multiple groups, make sure to destructure the optional env vars properly.\n\n```typescript\n// src/env.ts\nimport setEnv from '@americanairlines/simple-env';\n\nsetEnv({\n  required: {\n    nodeEnv: 'NODE_ENV',\n    someRequiredSecret: 'SOME_REQUIRED_SECRET',\n  },\n});\n\nexport const env = setEnv({\n  optional: {\n    anOptionalSecret: 'AN_OPTIONAL_SECRET',\n  },\n});\n```\n\n> **NOTE**: if you choose to assign `optional` and `required` env vars individually, `setEnv` should only be done _once_ for each or you will overwrite your previously defined values.\n\n# Contributing\n\nInterested in contributing to the project? Check out our [Contributing Guidelines](./.github/CONTRIBUTING.md).\n\n## Running Locally\n\n1. Install dependencies with `npm i`\n1. Run `npm run dev` to compile and re-compile on change\n1. Run `npm link`\n1. Navigate to another Node.js project and run `npm link @americanairlines/simple-env`\n\nYou can now use `simple-env` functionality within your project. On changing/adding functionality, the `@americanairlines/simple-env` package will update within your other project so you can test changes immediately.\n","readmeFilename":"README.md","keywords":["env","type","environment","variables","simple","typescript"]}