{"_id":"@ampapps/pdrc-env","_rev":"4-1964041c2d34feb770eff0c4b7a2c727","name":"@ampapps/pdrc-env","description":"just walks up and loads first .env it finds","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@ampapps/pdrc-env","version":"1.0.0","description":"just walks up and loads first .env it finds","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","dependencies":{"dotenv":"^4.0.0","filter-object":"^3.0.0","find-up":"^2.1.0","json-masker":"^0.4.0","winston":"^2.4.0"},"gitHead":"0e072bf86a1940e1bbe7f60910a2711dadd68a16","_id":"@ampapps/pdrc-env@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"6.10.0","_npmUser":{"name":"kmonagle","email":"kdmonagle@gmail.com"},"dist":{"integrity":"sha512-5KL0d74JRJ/vS+JqpYxze1/pBOralwc8r+Q56+hfCbxUBB4IsvOHKOcKivt0Da09fV0Xo1yDVMib0hahgIwmEw==","shasum":"f7cad4328ac82abc5fde1a6f3e8ef5369eb3cf7d","tarball":"https://registry.npmjs.org/@ampapps/pdrc-env/-/pdrc-env-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh05JZgdukKZnWLgnfwvETUVh16cqMJbUtPZytMKz01AIhALahPbe9YCnxQuDKmabeChRcwayrt5jgTTqfd7O2r20S"}]},"maintainers":[{"name":"kmonagle","email":"kdmonagle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdrc-env-1.0.0.tgz_1516929966529_0.9026130642741919"},"directories":{}},"1.0.2":{"name":"@ampapps/pdrc-env","version":"1.0.2","description":"just walks up and loads first .env it finds","main":"index.js","author":"","license":"ISC","dependencies":{"dotenv":"^5.0.1","filter-object":"^3.0.0","find-up":"^2.1.0","json-masker":"^0.4.0","winston":"^2.4.0"},"devDependencies":{"chai":"^4.1.2","docco-husky":"^0.3.3","eslint":"^4.18.2","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.9.0","husky":"^0.14.3","lint-staged":"^7.0.0","mocha":"^5.0.1","npm-check":"^5.5.2","nyc":"^11.4.1","prettier":"^1.11.1"},"scripts":{"test":"nyc --check-coverage --lines 95 --functions 90 --branches 50 --reporter=html --reporter=text ./node_modules/mocha/bin/mocha --exit test/*.js","format":"prettier --write ./index.js ./test/*.js","lint":"eslint ./index.js --fix --cache","npm-check":"npm-check -i eslint* -i prettier* -i husky*","npm-check-update":"npm-check -i eslint* -i prettier* -i husky* -u","update-deps":"npm-check -u","precommit":"npm run npm-check && npm test && npm run docs && git add docs/* && lint-staged","docs":"docco-husky ./index.js test/*.js"},"lint-staged":{"*.js":["eslint --fix --cache","git add","prettier --write","git add"]},"docco_husky":{"project_name":"PDRC-ENV","show_timestamp":false},"gitHead":"5d779f69cb3769bb96d1ed0317f74e907a64a51c","_id":"@ampapps/pdrc-env@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kmonagle","email":"kdmonagle@gmail.com"},"dist":{"integrity":"sha512-unBZsmZC2TEYuy11vAbh2hTH20XZdTdrSY5uWfXyBBbp227L/BZwZrD1iyt4lXGBHVRxrEBMH7y0ZRhMQcgfCA==","shasum":"0df63424eb2a39377c974466b83c5162f8286a88","tarball":"https://registry.npmjs.org/@ampapps/pdrc-env/-/pdrc-env-1.0.2.tgz","fileCount":8,"unpackedSize":29331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUV807lV9160HZFTpNlA6PUnBUGEAhqus7pJY+BbkD1QIhAJjt7ZaTGtmFAbOludVbSQz30jQ5hEWNzo5bkMlf4d/x"}]},"maintainers":[{"name":"blindlee","email":"hosting@ampconsultinginc.com"},{"name":"kmonagle","email":"kdmonagle@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdrc-env_1.0.2_1520124459113_0.36019720819884693"},"_hasShrinkwrap":false}},"readme":"# PDRC-ENV\n\nWalks up and loads first .env it finds.\n\nI did this so that I didn't have separate, redundant .env files in \nevery project. Like the eslint and prettier config files, I wanted to \nkeep one env in the root PDRC directory for local development.\n\nAll you have to do to get this behavior is to include:\n\nrequire('@ampapps/pdrc-env');\n\nThis should only do anything locally. On heroku config-vars are \nprovided by the app, but even if they do actually create a config \nfile, it shouldn't matter, this will just overwrite the process.env \nobject.\n\n","maintainers":[{"name":"blindlee","email":"hosting@ampconsultinginc.com"},{"name":"kmonagle","email":"kdmonagle@gmail.com"}],"time":{"modified":"2022-04-04T13:51:23.585Z","created":"2018-01-26T01:26:07.376Z","1.0.0":"2018-01-26T01:26:07.376Z","1.0.2":"2018-03-04T00:47:39.175Z"},"license":"ISC","readmeFilename":"README.md"}