{"_id":"@benjstephenson/config-ts","_rev":"6-5ac652000417e7c210cf44838be7a011","name":"@benjstephenson/config-ts","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.1":{"name":"@benjstephenson/config-ts","version":"0.0.1","description":"Read config values from a node environment","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"author":{"name":"Benji Stephenson"},"license":"ISC","dependencies":{"kittens-ts":"0.0.7"},"gitHead":"b7c976e3a0034e3cd56a06e7b7871a8524529dba","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_id":"@benjstephenson/config-ts@0.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-m3B9bSscmiuoYwDfgNDkoUUFFmOPIBgdv6Om4UCZ2MgEFphlu9VQnRGbn6ykrfXhEVl/Do1HO05sefpvIXwEJg==","shasum":"e6f74ddd306db3beb3c8fdd58bbc66803ff1f193","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-0.0.1.tgz","fileCount":5,"unpackedSize":6083,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHNjlKl00GzaRJljhozi812pY1LobCFVuU2AcTD1msiAiAh92bB4rzKmNxGtvXDbERcCpiTuP4teSrzuXXGz5TKWg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiS2J9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMfg/7BdeuVG8oFS6u/hwEsneQQKobv9ZldZoaNuehzH/nNwZNhXDv\r\nrCncQEWnNkqAN3b0ic73NCNOQiyax1gzytExlrn2ZBzLvcqQ9mALbYAx5g67\r\nvFSQB+S/dL1t+mmjAQnd1g8PYaQe+8z99JufYB14sYDgZg8oOIk5b6TPi9WD\r\nmtBEZPG8Gqwv6tnUk04emetljD4U0GO01L5+jTYtM5unNYPDixuTEUdBmC++\r\nUlqCS0w7W65ClKrAjAUM4TUCp2jueWqBRbn/aISG09TrFi0NeHga0X/Ju9/W\r\nKJIBuvXoBxPs95Qp6IQXm5REaEjUEvO7cv76nPyN0+lmjoQ9jUklevAwIt4e\r\nepUNZcEBUwBnBy0O6E9y01+T7hIsriy7UsLZFY5MyuefiGN0HpjnVMnjoI7K\r\nDJmPx0ZICz5RWBhD4aS1BRWLQuW7z3y2qfFDuIRTZD80pGk4kHKehdd3pHHh\r\nqtnrr0+7U3oZ7amFwice8hf58r6w0CdzuVkViFgmrV5erMZSrOohafjnM3JI\r\nrY7cnxqVeG4NrCjkvl4jdAp0gNEx5xCdglwG5+RzA7VwinF3zBj5FZYu310f\r\nC5UEwxFESxIivdQ9SzPAHLpLObKAgCidZfmEwGDPM5IaErBY0gBfvAxE8slX\r\nvnu4IANySd8OHXR4WgzOHBcb1qxcyooeBlw=\r\n=nLe5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_0.0.1_1649107581098_0.7203996653465705"},"_hasShrinkwrap":false},"0.0.2":{"name":"@benjstephenson/config-ts","version":"0.0.2","description":"Read config values from a node environment","types":"index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"author":{"name":"Benji Stephenson"},"license":"ISC","peerDependencies":{"kittens-ts":">= 0.0.7"},"gitHead":"7d1d16fc136b13dac1cb0e4e9f7013b6e864d868","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_id":"@benjstephenson/config-ts@0.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-P/8k/y9gtqAINgsAFgIXRUZ26rEWk4Hd54GEMD8VitywxBnuvQ1gkSeak9wYvhDGM8S//TYpfUUFpm7dt1VQKA==","shasum":"b2858331971a92ae5cade92f42d582889384760c","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-0.0.2.tgz","fileCount":5,"unpackedSize":6824,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC52hvQuy6Wqf3jGyEGq4HHK6SJNnjNcbyx407OlfoWzAIhAIlcx4HnE4qbReJxLjYzW3+Uuho/GsVfwPci8FDenMr/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVmAhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqP+w//fX56eqEjuaPC/DwkO8tVG+l+gBFV8wlSsylRWy8eE5Hq3IDe\r\nO0vuIo4FMTkwSv+PUMJIZlo0/DKZSksuee2DFE0CwKvE5BIhoIlZyRNPRfAb\r\n/jJ/HRlwjVYe4NPa60THcwkjcXDrxzW6uSq7P4rA3PDsBXd7XmeS7n0HXjYk\r\nIy5Zpg5mS8cmF6vzp+nab9kjn0P/gsEfi6V6YS/BhbCcOT3O4ylOH979OYnU\r\nbBKNar16E8nx6vDdlGdsqtnpLNIXGbOVCOAlt1/UueRrXVoDMC9ziQN0agsS\r\n4YYVaq/h4ifd7JGUgyHN9hsD15gs1H5h5eWK9bthgvHs16OllteIciuNQytQ\r\ndd7dGbj4C6ljChNRyjcCFA1WCxgYy90Ejf7UjcVzNufax0X5WLx6RETDp4AX\r\n3zg9fGnbo5lDyH1SwBhF2mUKQkQjIeZab58pXo+25UjvDAxVwyOUGf9K86qm\r\n5Id3oNn7B4kiQNdsajA6sK6vPJZd0F51lMF27YNjqF9ToIC2j+0FvPZ+V+rW\r\nYU++O0QZelctxc3ZkIsQ1r+L5r+mVkvuDbIoJ/q/Q6JaRJCkm/XU61jM7zMe\r\nnWnb2ZOJHV7qqdz8BfER3CAGio89xr3SDBUYdqtfzCaa2/2EaBsLHMHfa8Vz\r\nt5OlFf80pL4ovd70zU2G/p3wy/RuZep2oXk=\r\n=TaPu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_0.0.2_1649827872989_0.051168333154774315"},"_hasShrinkwrap":false},"0.0.3":{"name":"@benjstephenson/config-ts","version":"0.0.3","description":"Read config values from a node environment","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"scripts":{"prepare":"husky install","build":"tsc --extendedDiagnostics -p .","clean":"rimraf dist/** && rimraf ./tsconfig.tsbuildinfo","clean:build":"npm run clean && npm run build","test":"npm run build && mocha -r ts-node/register 'src/**/*.micro.ts'"},"author":{"name":"Benji Stephenson"},"license":"ISC","devDependencies":{"@types/mocha":"^10.0.0","fast-check":"^3.3.0","husky":"^8.0.1","mismatched":"^2.9.2","mocha":"^10.1.0","prettier":"^2.4.1","rimraf":"^3.0.2","thespian":"^2.10.1","ts-node":"^10.7.0","typescript":"^4.8.4"},"peerDependencies":{"kittens-ts":">= 0.0.7"},"gitHead":"bea07331afd59f02f98eb0247814fcdcea5d1caa","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_id":"@benjstephenson/config-ts@0.0.3","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-spGQejIWBUt7VPjvVm4KuwYlR2P1foMNeokI/eAbcQwGAtht4LYy8TvXqn1FJOyReaicsHxR5ZT6xxf1Ssd3EA==","shasum":"1745b8ab71f3c11e151793f85b2b3e2fb64b9580","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-0.0.3.tgz","fileCount":23,"unpackedSize":31432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDErCIeD+ervB8vU7wrWpTV1spvgWDxcXx5L8LGhjlMUgIgCgZBxu8QIPpCItjH0rZCluVin7gi4vlKYHPbvH7HZsA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYsVuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpD9Q/9EHJDllzNElId7sED7vxiBCfNeeVCjL39PPOYiAbvn/kp4oLA\r\nx3T7YExSmRrH8oSoDPdbvrPXIKVYHO5v6Ao5GIWq2bAX/4UR3YpYGR9eqllC\r\nud2qzDAKBbZ7LkZnnSknBkPrncklZ3yfrymi68MQiOgZ1HY6UMi2Pk/0mVZF\r\nmwukseceT4EvnUReP22XSeyvhvCn5Mmn1jnG9vf4+cqsnnzAXqA0wUZjYavL\r\nS0qMcHu9hA4CAxoUUNdBRZOHjw+Bs947Tdp8Scwff82eicXXHhHjSlDd/u26\r\n6QikBS0KdSw3jeh70rqr3gHgzGjAilJyvYqZ/rrsWoMNAvqIFVGy4fP0DK4M\r\n+V08SEwFsicDo3Np1Sn91p3cDyhwbfE/31sorsQvESkMGRPUGP23dklBcI8E\r\ndyRiijNDczGBwsH9xtWLQ8Eo9BPWx0fNix8Igtv93VOde82v0ODShXcXKFx5\r\nATrTJV55zetKMKQWKpZM4RG+Am43EUYLrV/A49jiSmweOF9SwdCTXSbWu4RP\r\nVRUzJ/XKmucfFpXOz33q74W+IQzKBehZE0dTSeRMYvAZi7hCXtmOS+DvGDOF\r\n7ORPdgXf7ReKu2dB8RqaJh/lxvoE5TVGiWI18yaLTaSn1xWW4B4gwUziMKzr\r\nURcTQxZUoqrF4SkzxJ0X2N3JtE3vpvQ6vRY=\r\n=dj4Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_0.0.3_1667417454472_0.04252547303303511"},"_hasShrinkwrap":false},"1.0.0":{"name":"@benjstephenson/config-ts","version":"1.0.0","description":"Read config values from a node environment","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"scripts":{"prepare":"husky install","build":"tsc --extendedDiagnostics -p .","clean":"rimraf dist/** && rimraf ./tsconfig.tsbuildinfo","clean:build":"npm run clean && npm run build","test":"npm run build && mocha -r ts-node/register 'src/**/*.micro.ts'"},"author":{"name":"Benji Stephenson"},"license":"ISC","devDependencies":{"@commitlint/cli":"^17.6.1","@commitlint/config-conventional":"^17.6.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/mocha":"^10.0.0","fast-check":"^3.8.0","husky":"^8.0.1","mismatched":"^2.11.1","mocha":"^10.2.0","prettier":"^2.4.1","pretty-quick":"^3.1.3","rimraf":"^5.0.0","thespian":"^2.11.1","ts-node":"^10.7.0","typescript":"^5.0.4"},"_id":"@benjstephenson/config-ts@1.0.0","gitHead":"fe91d0480cbe5b46b480d18e670ef0ce487bb2ea","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_nodeVersion":"18.16.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-yZJJm0yPI1O9tpY2ZES8ySTDB7Z1BOLcAFqC9g+a4B08fTg486TQQyVuebuwy5sM27IMxjSDM5G0FytClFYbtw==","shasum":"a85ca6b2c56dea9838153be5493e90f98a7d4647","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-1.0.0.tgz","fileCount":25,"unpackedSize":88251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAwEYZ31rgkfHCFb3jp4kL0a2c1JTJuhZ8u4Ebiu0WeQIhAP9kQpZmCBp86HD9gieCiy8VjNVNZRJut8e1rkdeq0Rq"}]},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_1.0.0_1689054298801_0.11206405684576648"},"_hasShrinkwrap":false},"2.0.0":{"name":"@benjstephenson/config-ts","version":"2.0.0","description":"Read config values from a node environment","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"scripts":{"prepare":"husky install","build":"tsc --extendedDiagnostics -p .","clean":"rimraf dist/** && rimraf ./tsconfig.tsbuildinfo","clean:build":"npm run clean && npm run build","test":"npm run build && mocha -r ts-node/register 'src/**/*.micro.ts'"},"author":{"name":"Benji Stephenson"},"license":"ISC","devDependencies":{"@commitlint/cli":"^17.6.1","@commitlint/config-conventional":"^17.6.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/mocha":"^10.0.0","fast-check":"^3.8.0","husky":"^8.0.1","mismatched":"^2.11.1","mocha":"^10.2.0","prettier":"^2.4.1","pretty-quick":"^3.1.3","rimraf":"^5.0.0","thespian":"^2.11.1","ts-node":"^10.7.0","typescript":"^5.0.4"},"_id":"@benjstephenson/config-ts@2.0.0","gitHead":"db9c50e113a30872382917f5bed67b9bbb417204","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_nodeVersion":"18.16.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-q1UYkIqeQkVHRaI+c4n+9pHbQDuenDyAn51rJrg0voOGNXAfaiHPPu8r0M8wu5Bh/C8zYDy+C2KG5l8A3/iW1w==","shasum":"4eb8b63471c92a92a50d4e140ca3211a684a2ced","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-2.0.0.tgz","fileCount":25,"unpackedSize":89973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUM23ZTLRu3bRNRuqlH/FxmJeT/7xaBb7MFEGjPglR1AiEA3ZDVElyxnvZgCo1n1AKs0OTS6uhXvt90XjmQzapRrxo="}]},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_2.0.0_1689114463422_0.9882377815321934"},"_hasShrinkwrap":false},"2.0.1":{"name":"@benjstephenson/config-ts","version":"2.0.1","description":"Read config values from a node environment","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"scripts":{"prepare":"husky install","build":"tsc --extendedDiagnostics -p .","clean":"rimraf dist/** && rimraf ./tsconfig.tsbuildinfo","clean:build":"npm run clean && npm run build","test":"npm run build && mocha -r ts-node/register 'src/**/*.micro.ts'"},"author":{"name":"Benji Stephenson"},"license":"ISC","devDependencies":{"@commitlint/cli":"^17.6.1","@commitlint/config-conventional":"^17.6.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/mocha":"^10.0.0","fast-check":"^3.8.0","husky":"^8.0.1","mismatched":"^2.11.1","mocha":"^10.2.0","prettier":"^2.4.1","pretty-quick":"^3.1.3","rimraf":"^5.0.0","thespian":"^2.11.1","ts-node":"^10.7.0","typescript":"^5.0.4"},"_id":"@benjstephenson/config-ts@2.0.1","gitHead":"81639e964b246a3db871a6b1ec68500a684be711","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_nodeVersion":"18.16.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-aoeBLssNiGt+ZIc2dFWrlLEibkuad2atK9FvP9qQnIx7JWRS/dPcKlYrMcafvleQ/fv34ya3H4h5WmBhl2btZQ==","shasum":"db8e8e11f789bb7264b4e30e38fd940f8d5264d1","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-2.0.1.tgz","fileCount":25,"unpackedSize":90000,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ4yxuUlpYNQZgIRq32Pvy5V0kiVNReaD8Th6mevNkGQIhAORxsJ7iyawiUHmq9PHBFzOFpGFkC3o4WGIvIs6btsfy"}]},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_2.0.1_1689121022654_0.5814351888347866"},"_hasShrinkwrap":false},"3.0.0":{"name":"@benjstephenson/config-ts","version":"3.0.0","description":"Read config values from a node environment","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"scripts":{"prepare":"husky install","build":"tsc --extendedDiagnostics -p .","clean":"rimraf dist/** && rimraf ./tsconfig.tsbuildinfo","clean:build":"npm run clean && npm run build","test":"npm run build && mocha -r ts-node/register 'src/**/*.micro.ts'"},"author":{"name":"Benji Stephenson"},"license":"ISC","devDependencies":{"@commitlint/cli":"^17.6.1","@commitlint/config-conventional":"^17.6.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/mocha":"^10.0.0","fast-check":"^3.8.0","husky":"^8.0.1","mismatched":"^2.11.1","mocha":"^10.2.0","prettier":"^2.4.1","pretty-quick":"^3.1.3","rimraf":"^5.0.0","thespian":"^2.11.1","ts-node":"^10.7.0","typescript":"^5.0.4"},"_id":"@benjstephenson/config-ts@3.0.0","gitHead":"2be0ec172731c4bba7c394458d7d51e28014a10b","bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"homepage":"https://github.com/benjstephenson/config-ts#readme","_nodeVersion":"18.16.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-tglMzy2d+1zMMN/K/CUN8KXKoEKvJbMm8T4Pxar8enOlqQJww0aWsN+QsBQdPr0Fw+A8S7XJL5lenVDeFSZCRw==","shasum":"e4fe1b63f554e0beb58dbb8a241ddcc6a4efdfaa","tarball":"https://registry.npmjs.org/@benjstephenson/config-ts/-/config-ts-3.0.0.tgz","fileCount":25,"unpackedSize":91424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwOIcCRHsCoalOYew8aP02upLDQdIBjI6UJCOCuIrhVAiEA7C3q6+Os3hLYS7phbzVTEPjTPrZFqZ6UtvafFRC1Oio="}]},"_npmUser":{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"},"directories":{},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-ts_3.0.0_1689649778432_0.7850537108873168"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-04T21:26:21.023Z","0.0.1":"2022-04-04T21:26:21.294Z","modified":"2023-07-18T03:09:38.753Z","0.0.2":"2022-04-13T05:31:13.187Z","0.0.3":"2022-11-02T19:30:54.733Z","1.0.0":"2023-07-11T05:44:59.014Z","2.0.0":"2023-07-11T22:27:43.592Z","2.0.1":"2023-07-12T00:17:02.892Z","3.0.0":"2023-07-18T03:09:38.596Z"},"maintainers":[{"name":"benjstephenson","email":"bjames.stephenson@gmail.com"}],"description":"Read config values from a node environment","homepage":"https://github.com/benjstephenson/config-ts#readme","repository":{"type":"git","url":"git://github.com/benjstephenson/config-ts.git"},"author":{"name":"Benji Stephenson"},"bugs":{"url":"https://github.com/benjstephenson/config-ts/issues"},"license":"ISC","readme":"# config-ts\n\nSmall library that reads config values from the node process environment.\nConfig objects are described using a micro format which informs the library how to fetch them.\nErrors fetching values are accumulated when the config objects are instantiated and ultimately return an `Either<NonEmptyList<string>, Config>`\nwhich can be extracted unsafely using `getConfigUnsafe`.\n\nTakes some inspiration from [PureConfig](https://pureconfig.github.io/) and [Zod](https://zod.js.org/)\n\n```Typescript\nconst databaseConfig = readFromEnvironment({\n  dbName: { key: \"DATABASE_NAME\", type: 'string' },\n  connectionString: { key: \"DATABASE_CONN_STR\", type: 'string' },\n  autoCommit: { key: \"DATABASE_AUTO_COMMIT\", type: 'boolean', default: false }\n})\n\nconst awsConfig = readFromEnvironment({\n  region: { key: \"AWS_REGION\", type: 'string' },\n  secret: { key: \"AWS_SECRET\", type: 'string' },\n  services: { key: \"AWS_ENABLED_SERVICES\", type: 'list' }\n})\n\n// Grabs the type for use in the app code, type would be { region: string, secret: string, services: string[] }\ntype AwsConfig = Infer<typeof awsConfig>\n\n// This will throw an exception of one or more config values couldn't be read.\nconst appConfig = getConfigUnsafe({\n  databaseConfig,\n  awsConfig\n})\n\n/*\n *  Resulting type of appConfig is\n {\n   databaseConfig: { dbName: string, connectionString: string, autoCommit: boolean },\n   awsConfig: { region: string, secret: string, services: string[] }\n }\n*/\n\n```\n","readmeFilename":"README.md"}