{"_id":"dotenv-json","_rev":"2-922f907903a9e578aa064a4952f4e706","name":"dotenv-json","description":"Load environment variables via a JSON file","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"dotenv-json","version":"1.0.0","description":"Load environment variables via a JSON file","main":"index.js","scripts":{"test":"node index.test.js"},"repository":{"type":"git","url":"git+https://github.com/maxbeatty/dotenv-json.git"},"keywords":["dotenv"],"author":{"name":"Max Beatty"},"license":"MIT","bugs":{"url":"https://github.com/maxbeatty/dotenv-json/issues"},"homepage":"https://github.com/maxbeatty/dotenv-json#readme","gitHead":"242856bbcc6df38af5a4bb889838459a8e0d476f","_id":"dotenv-json@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"maxbeatty","email":"npm@maxbeatty.com"},"dist":{"integrity":"sha512-jAssr+6r4nKhKRudQ0HOzMskOFFi9+ubXWwmrSGJFgTvpjyPXCXsCsYbjif6mXp7uxA7xY3/LGaiTQukZzSbOQ==","shasum":"fc7f672aafea04bed33818733b9f94662332815c","tarball":"https://registry.npmjs.org/dotenv-json/-/dotenv-json-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTUKy44N0o6AsDpasgdBeE5rUwWUr3Xj/WVvJcs5mMXAIhAP7K2tVJMGRDrlbWF8RFm2QZpL8oCEaMoCBZRgL17Ta5"}]},"maintainers":[{"name":"maxbeatty","email":"npm@maxbeatty.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotenv-json-1.0.0.tgz_1506533628500_0.1757021863013506"},"directories":{}}},"readme":"# dotenv-json\n\n> Load environment variables via a JSON file\n\n```bash\nnpm install dotenv-json\n```\n\nDefine your environment variables in `.env.json` in the root of your project (or wherever you start your node process):\n\n```json\n{\n  \"public_api_key\": \"s@Mpl3_d@Ta\"\n}\n```\n\nLoad your environment variables at the beginning of your program:\n\n```js\nrequire(\"dotenv-json\")();\n\nconsole.log(process.env.public_api_key) // => s@Mpl3_d@Ta\n```\n\n_N.B. Existing keys in `process.env` will **not** be overwritten._\n\nYou can customize the location of your `.env.json` file by passing a `path` option:\n\n```js\nconst dotenvJSON = require(\"dotenv-json\");\ndotenvJSON({ path: \"./config/example.json\"});\n```\n","maintainers":[{"name":"maxbeatty","email":"npm@maxbeatty.com"}],"time":{"modified":"2022-04-29T03:44:59.045Z","created":"2017-09-27T17:33:48.664Z","1.0.0":"2017-09-27T17:33:48.664Z"},"homepage":"https://github.com/maxbeatty/dotenv-json#readme","keywords":["dotenv"],"repository":{"type":"git","url":"git+https://github.com/maxbeatty/dotenv-json.git"},"author":{"name":"Max Beatty"},"bugs":{"url":"https://github.com/maxbeatty/dotenv-json/issues"},"license":"MIT","readmeFilename":"README.md","users":{"xiechao06":true}}