{"_id":"typed-env-config","_rev":"42-a0b484be9c22dfedd685fded090165be","name":"typed-env-config","dist-tags":{"latest":"3.0.0"},"versions":{"0.9.1":{"name":"typed-env-config","version":"0.9.1","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@0.9.1","maintainers":[{"name":"jhford","email":"john@johnford.org"}],"homepage":"https://github.com/taskcluster/taskcluster-lib-config#readme","bugs":{"url":"https://github.com/taskcluster/taskcluster-lib-config/issues"},"dist":{"shasum":"26c5f2ce3617d11bccb2b3e7e3e7b684dae2d378","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-0.9.1.tgz","integrity":"sha512-agSKK8beOv3ulNSFVVfNXGxDXVpGwjDXgDRl5Q/YQNguDHH7O30ZIU/f+5QSNII9AXD8V5EAn5XgGvjXQTUYUw==","signatures":[{"sig":"MEUCIGqYzJK0SYptXwyh9w/l2SOObPAPamWBpUkl2kCubj8HAiEAinZnUS0JZI3bdwvXU4pVCJKli86+dKngZP1xMfK/B0U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","_shasum":"26c5f2ce3617d11bccb2b3e7e3e7b684dae2d378","gitHead":"453820f8866ae991ccf3da290a9a76a85b923895","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jhford","email":"john@johnford.org"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/taskcluster-lib-config.git","type":"git"},"_npmVersion":"2.11.3","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"0.12.7","dependencies":{"debug":"^2.2.0","lodash":"^3.10.1","js-yaml":"^3.3.0","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","assume":"^1.3.1","babel-compile":"0.0.2","taskcluster-lib-rules":"^1.0.5"}},"0.10.0":{"name":"typed-env-config","version":"0.10.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@0.10.0","maintainers":[{"name":"jhford","email":"john@johnford.org"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"e2cb749f5f4f531401b0ffef9904c93514b29008","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-0.10.0.tgz","integrity":"sha512-9X1+x1L5/xsthJ6Ut/FD8/h76q0PiI44CwFTTPtJtTLHJLgP4B65TS7sEdezLm9maShOjkggBeO2ZFrbR96lpQ==","signatures":[{"sig":"MEUCIQD3U3/WJrYlsKcbXAM1K+35qTPJaPpEnKtbY7sYgq9kKwIgXH6UFc8snG1sF7KAo41txFLEAdM+FJ4RkgF2+QL4RHY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","_shasum":"e2cb749f5f4f531401b0ffef9904c93514b29008","gitHead":"ccea20b256720c88004df244ab916f767e125b43","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jhford","email":"john@johnford.org"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"2.11.3","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"0.12.7","dependencies":{"debug":"^2.2.0","lodash":"^3.10.1","js-yaml":"^3.3.0","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","assume":"^1.3.1","babel-compile":"0.0.2","taskcluster-lib-rules":"^1.0.5"}},"0.10.1":{"name":"typed-env-config","version":"0.10.1","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@0.10.1","maintainers":[{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"}],"homepage":"https://github.com/taskcluster/typed-env-config","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"ebd5df8f28e50812bb594317252e4e87f29c1f13","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-0.10.1.tgz","integrity":"sha512-Y+bGJipFSilwlBbg2bipUSQ6xo03+ean/KLwp4tN+SKxlC4k1RUD8YnGy9XvDEKLmVJbXo5XrSVqV4H40pSEzg==","signatures":[{"sig":"MEUCIQDoavEPlR8CnuWbi4T3RN/xbnUXlNd3cxDgRIc+AbML9gIgVXGaLHGwK3VthN+CWJFWlm3Htv7r5jP2lkH1PBbECjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","_shasum":"ebd5df8f28e50812bb594317252e4e87f29c1f13","gitHead":"4dcfa65dc140802ac7513267aefdfa50761c156c","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"deprecated":"No longer an independent library","repository":{"url":"https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"2.14.12","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"4.2.6","dependencies":{"debug":"^2.2.0","lodash":"^3.10.1","js-yaml":"^3.3.0","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","assume":"^1.3.1","babel-compile":"0.0.2","source-map-support":"^0.3.3","taskcluster-lib-rules":"^1.0.5"}},"1.0.0":{"name":"typed-env-config","version":"1.0.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@1.0.0","maintainers":[{"name":"bstack","email":"bstack@mozilla.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"selenamarie","email":"selenamarie@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"walac","email":"wander.lairson@gmail.com"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"54c84330a0b4e73bf7e618c51c0359f4d6f5527f","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-1.0.0.tgz","integrity":"sha512-KcJIQDQZYdszzOi1d7Y9y9Nukfs4W+pW5irE98xQhHAZkp4+baqTPxYt/lqpVKcgJNTxZeFAlXa1C9Ip4hHfSA==","signatures":[{"sig":"MEUCIQDQumdvY+e+2Fhf5BhZrUd9GJJ9+kuqQS3RMAOt7jjCrQIgIH8vjTOPs3YE4OJCsfdA87zjgc9wpnG7UE4Gskf+k08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","_shasum":"54c84330a0b4e73bf7e618c51c0359f4d6f5527f","gitHead":"a2f358e7d04c7fd2547c07304bcdb1893e2d404f","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"bstack","email":"bstack@mozilla.com"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"3.8.3","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"5.10.1","dependencies":{"debug":"^2.2.0","lodash":"^3.10.1","js-yaml":"^3.3.0","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","assume":"^1.3.1","babel-compile":"0.0.2","source-map-support":"^0.3.3","taskcluster-lib-rules":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/typed-env-config-1.0.0.tgz_1471044374252_0.8955469015054405","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"typed-env-config","version":"1.1.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@1.1.0","maintainers":[{"name":"bstack","email":"bstack@mozilla.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"selenamarie","email":"selenamarie@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"walac","email":"wander.lairson@gmail.com"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"962868fc6e016cf8828eaf5e5f01c6c1c91540d5","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-1.1.0.tgz","integrity":"sha512-VKG+/2u8keAQ3yCblcEMV96JcFh1+JQP4l+IFOpruNvg+K6yQkGMZgV6QvAcz4HB1lSfcM6oxgc2W8zdoD76Cg==","signatures":[{"sig":"MEUCIDWSiP1GxptKprykqp9H9/rl5qVWtDup4ybBX7H4VOG/AiEAo3D35s0uoUYfTtKnXdj9TZvungkarzCjnH963StVnCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","_shasum":"962868fc6e016cf8828eaf5e5f01c6c1c91540d5","gitHead":"1eb9ba16446182b771fa3e96b3ce54b285d3bb45","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -p taskcluster src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"3.10.3","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"6.3.1","dependencies":{"debug":"^2.2.0","lodash":"^4.0.0","js-yaml":"^3.6.1","babel-runtime":"^6.0.0"},"devDependencies":{"mocha":"^3.0.0","assume":"^1.3.1","babel-compile":"^2.0.0","source-map-support":"^0.4.0","babel-preset-taskcluster":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typed-env-config-1.1.0.tgz_1471652004666_0.5541604114696383","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"typed-env-config","version":"1.1.1","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@1.1.1","maintainers":[{"name":"bstack","email":"bstack@mozilla.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"selenamarie","email":"selenamarie@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"walac","email":"wander.lairson@gmail.com"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"debed355e08ef2e5f708d717862e43ed81bafe86","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-1.1.1.tgz","integrity":"sha512-0HZcT/lPgdSBYBoLmzNVnqPXK5ODz4eUWmLC1zGpSsIjj2aVtjrpY7ih7zEWC8vbkhzOu7jbTq6yv+P+IdaF2w==","signatures":[{"sig":"MEUCIDfjxRXcO+DFchCezEFnvLH0J0GUm9lN06XuoWXtdbZxAiEApEVoQmLOIoyAUa8ZSv+t/Q62O2Xt1fcuz1S+zd3RwyQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","_from":".","files":["lib"],"_shasum":"debed355e08ef2e5f708d717862e43ed81bafe86","gitHead":"40124109d03c564a3e67c1ab69f177a4f3e8a4c9","scripts":{"test":"mocha .test/*_test.js","compile":"babel-compile -p taskcluster src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"4.0.5","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"7.4.0","dependencies":{"debug":"^2.2.0","lodash":"^4.0.0","js-yaml":"^3.6.1","babel-runtime":"^6.0.0"},"devDependencies":{"mocha":"^3.0.0","assume":"^1.3.1","babel-compile":"^2.0.0","source-map-support":"^0.4.0","babel-preset-taskcluster":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typed-env-config-1.1.1.tgz_1485984091467_0.017602403415367007","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"typed-env-config","version":"2.0.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@2.0.0","maintainers":[{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"helfi92","email":"helfi92@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"walac","email":"wander.lairson@gmail.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"bstack","email":"bstack@mozilla.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"jhford","email":"john@johnford.org"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"b6e56257d620268d494585e59031bf5b5d25a17f","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-2.0.0.tgz","integrity":"sha512-MzVlT0iHnuGSTu6yI9yAnVIYZmKfXDMv0CFNr3z09IYpkvnGWTxtD9f7jkVYwD81rEcyh+E7vLdTadcIVrIVBA==","signatures":[{"sig":"MEYCIQDLq1Rq/kvwaG17o75yAQ9fEuKLbxgKIPq7lO2tFIku9gIhAPdt0bs4MI59VdWTJJZIeqhY/JSNqNsthkxV+Zma2wrC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/config","files":["lib"],"gitHead":"24be800c622fc9428591b4d4ee9860b952fe9814","scripts":{"lint":"eslint src/*.js test/*.js","test":"mocha .test/*_test.js","compile":"babel-compile -p taskcluster src:lib test:.test","prepare":"yarn compile","pretest":"yarn lint && yarn compile"},"_npmUser":{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"5.5.1","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"8.9.3","dependencies":{"debug":"^3.1.0","lodash":"^4.0.0","js-yaml":"^3.10.0","babel-runtime":"^6.26.0"},"devDependencies":{"mocha":"^4.0.1","assume":"^1.5.2","babel-compile":"^2.0.0","source-map-support":"^0.5.0","babel-preset-taskcluster":"^3.0.0","eslint-config-taskcluster":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typed-env-config-2.0.0.tgz_1513904905265_0.7088639941066504","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"typed-env-config","version":"3.0.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"typed-env-config@3.0.0","maintainers":[{"name":"bstack","email":"bstack@mozilla.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"helfi92","email":"helfi92@gmail.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"owlish","email":"bugzeeeeee@gmail.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"walac","email":"wander.lairson@gmail.com"}],"homepage":"https://github.com/taskcluster/typed-env-config#readme","bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"dist":{"shasum":"5c14aaf616d8e5cb291dac4f1c071dab7a87bde5","tarball":"https://registry.npmjs.org/typed-env-config/-/typed-env-config-3.0.0.tgz","fileCount":4,"integrity":"sha512-58QZ5bgwyXYO4utpYz2R6qem1YkFJYUQ11nuQasnEvpo0lL2h6N8clnpr3UNsYBVXjPfmAFMrBz/lW95Tqf13g==","signatures":[{"sig":"MEYCIQDeMFaSozxHN3O5/XrWsGs1cKsxZXb3VBzeJhdT/fY9YwIhAI+sGnGI/mVW/KdPeIwWKBe7DBPma63APDbBKG+GWCG5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2+mbCRA9TVsSAnZWagAAZcYQAJ3c2ldjjkmVGCAh62qr\nyrTLBCGbLrHh4BK0i8kL0xBEwmzw2QlIQiAyH5e4oxkCxxARmpYDq3ogls4F\nBlH47bw7XCzyRTQbuBCXIlOFVwUIsyz/vtNgMuMnLRrQdzGaujHUOES5GMcw\nShExj27twYCRVRUUvYCe0cm8t5IzXbYAecJ8ZWPqb4SjeNPng2hFWcuD9sCm\nsI4nQL87EvUXsJctgK2ulPVXWxJDxeFQBi2HDYDDAiexas6xwyODeWsLVM9X\nm56ONVy+PMplFvdHJ2m7GGmp0M9ZFTc9P067t3K1kEozt5zaDnsG0Uf2rV3z\nQgJaVRyfRnQXL05NMvwOkDl1LvAfDlUJzJOaiQ8ROgcqJ7n8CY+Lg0jnWuyA\nblFPscrulVBbjPjRUQJXsdl0kdaFo4fvAFq2dhMWhqAbzmoC4id328lR1oH/\nOm78Z4ozqoduBLmtPmEff7iUc1avFCMZ8zHlMy4tpeazYzvRPWlicth7eB3T\nQ5GhEy6BiIFEbq/X43V3E5PO0XHqxEfXn65ToxYmPyblY/hwzpZUsJ4GaZFp\n1/V/V0CPZX0jcVMKz271/j3zeeyMMIYtUpfeNMDe5wz8kpuLoIkNgWzWhjvl\nbSQ3cg0SHgoQwCeGBEX7gYF2zSVD2+suYW30bncCtvt9ZDQacFXu2ve2QHp+\n69b9\r\n=i3+u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/config","gitHead":"6be0e2136ede8fb954ecfee524a6768ccb7ebaca","scripts":{"lint":"eslint src/*.js test/*.js","test":"mocha test/*_test.js","pretest":"yarn lint"},"_npmUser":{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},"deprecated":"No longer an independent library","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"_npmVersion":"6.4.1","description":"Configuration loader that injects env variables into YAML","directories":{},"_nodeVersion":"8.14.0","dependencies":{"debug":"^4.1.0","lodash":"^4.17.11","js-yaml":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","assume":"^2.1.0","eslint-config-taskcluster":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/typed-env-config_3.0.0_1544025142164_0.8426742389501649","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-10-21T13:26:24.218Z","modified":"2026-04-27T14:44:30.690Z","0.9.1":"2015-10-21T13:26:24.218Z","0.10.0":"2015-10-21T13:40:18.839Z","0.10.1":"2016-01-28T20:37:53.682Z","1.0.0":"2016-08-12T23:26:14.506Z","1.1.0":"2016-08-20T00:13:24.910Z","1.1.1":"2017-02-01T21:21:31.710Z","2.0.0":"2017-12-22T01:08:25.358Z","3.0.0":"2018-12-05T15:52:22.291Z"},"bugs":{"url":"https://github.com/taskcluster/typed-env-config/issues"},"author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","homepage":"https://github.com/taskcluster/typed-env-config#readme","repository":{"url":"git+https://github.com/taskcluster/typed-env-config.git","type":"git"},"description":"Configuration loader that injects env variables into YAML","maintainers":[{"email":"taskcluster-accounts@mozilla.com","name":"taskcluster-bot"},{"email":"jopsen@gmail.com","name":"jonasfj"}],"readme":"YAML Configuration Loader\n=========================\n\nThis module makes it easy to load configuration from YAML files, and allows\nthese YAML files to specify environment variables to substitute into the\nconfiguration.\n\nConfiguration Format\n--------------------\n\nThe **configuration format** looks as follows.\n```yaml\ndefaults:\n  hostname:     localhost\n  port:         8080\nproduction: # profile 'production'\n  hostname:   !env HOSTNAME\n  port:       !env:number PORT\ntest: # profile 'test'\n  hostname:   localhost\n  port:       1234\n```\n\nThe top-level properties are \"profiles\", with `default` being a special case\nthat supplies defaults for all profiles.\n\nThe syntax extensions `!env <name>` are replaced with the value of the\nenvironment variable `<name>`. This is further extended to support loading\ntypes other than strings from environment variables. In the example above\n`!env:number PORT` will be replaced by the value of the environment variable\n`PORT` parsed as a number. If parsing the environment variable fails, it'll\ninstead be replaced with `undefined`.\n\nThis library has support for the following syntax extensions:\n\n * `!env <NAME>`, load string from env variable `<NAME>`,\n * `!env:string <NAME>`, load string from env variable `<NAME>`.\n * `!env:number <NAME>`, load number from env variable `<NAME>`.\n * `!env:flag <NAME>`, load true if env variable `<NAME>` is defined,\n * `!env:bool <NAME>`, load boolean as /true/i or /false/i from env\n    variable `<NAME>`,\n * `!env:json <NAME>`, load JSON object from env variable `<NAME>`, and,\n * `!env:list <NAME>`, load list of space separated strings from env\n    variable `<NAME>`.\n\nLoading Configuration\n---------------------\n\nWhen **loading configuration** you may specify which files, profile and\nenvironment variables to load from.  The resulting configuration is a\ncombination of all supplied files.  Files are parsed in order, with defaults\napplied as each file is read.  Values appearing later in the process overwrite\nthose from earlier.\n\nThe default setting is to read from `config.yml` and `user-config.yml`, and\nthis is the normal means of configuring a TaskCluster service.  `config.yml` is\nchecked in, and `user-config.yml` is in `.gitignore` and used by developers to\nprovide credentials. So in most cases, services load load configuration with\n`config({profile})` (where `profile` comes from `$NODE_ENV`).\n\nThe default options are shown here:\n```js\nvar config = require('typed-env-config');\n\nvar cfg = config({\n  files: [                // Files to load configuration from\n   'config.yml',          // These defaults are relative to process.cwd\n   'user-config.yml'\n  ]\n  profile:  undefined,    // Profile to apply (default to none)\n  env:      process.env   // Environment variables (mapping string to strings)\n});\n```\n\nThen `cfg` is an object containing the result of the merge.\n\nThe configuration loader will not complain about missing or ill formated\nenvironment variables. Instead it will just evaluate them to `undefined`. Nor will\nthe configuration loader complain about missing files, but it will complain\nabout ill formated files and missing profiles.\n\nIf you specify `{profile: 'test'}` when loading the example configuration file\nlisted at the top of this document, the loader will first load the `defaults`\nsection and then merge in values from the `test` section overwriting\nvalues set in `defaults`.\n\nIf there is both a `config.yml` and `user-config.yml` file, the `config.yml`\nwill be loaded first and have the profile merged, before the `user-config.yml`\nfile is loaded and has it profile merged in on top of the `config.yml` file.\nObviously, you can reverse the order and specify other file names using the\n`files` option for the config loader.\n","readmeFilename":"README.md"}