{"_id":"edit-dotenv","_rev":"5-790d0b8b2b61667a807c7fcf387d15fe","name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","version":"1.0.0","license":"MIT","author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"dependencies":{"eol":"~0.9.0"},"devDependencies":{"chai":"^4.0.2","coveralls":"^2.13.1","mocha":"^3.4.2","nyc":"^11.0.3"},"engines":{"node":">= 4"},"scripts":{"ci":"npm run test && nyc report --reporter=text-lcov | coveralls","posttest":"nyc report --reporter=html","test":"nyc --reporter=text-summary mocha test --check-leaks --bail"},"files":["index.js"],"keywords":["dotenv","whitespace"],"gitHead":"09c33e45e2fdc3b0ac4783dc1f1b51ff079ec576","bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","_id":"edit-dotenv@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"stevenvachon","email":"contact@svachon.com"},"dist":{"integrity":"sha512-GZNjYtcHuofaO40flMuBd+PN/VswbTiXt0c2cbmFes5Rqb3k8D/xgYsbxsQEeqKBBBtpKpRq5OG3TnI1h1By7g==","shasum":"52ef6a3f563845bd943b274779af9f92611911e1","tarball":"https://registry.npmjs.org/edit-dotenv/-/edit-dotenv-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDohbWrkuL43QspJe/24Ntio8RKHJg6jm/9dMtDfTxtIwIhALwriBR05dcxXI5exRB9f8Y4SAa/o/qwOR7slGyrjcVe"}]},"maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edit-dotenv-1.0.0.tgz_1499655336088_0.21002664137631655"}},"1.0.1":{"name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","version":"1.0.1","license":"MIT","author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"dependencies":{"eol":"~0.9.0","escape-string-regexp":"^1.0.5"},"devDependencies":{"chai":"^4.0.2","coveralls":"^2.13.1","mocha":"^3.4.2","nyc":"^11.0.3"},"engines":{"node":">= 4"},"scripts":{"ci":"npm run test && nyc report --reporter=text-lcov | coveralls","posttest":"nyc report --reporter=html","test":"nyc --reporter=text-summary mocha test --check-leaks --bail"},"files":["index.js"],"keywords":["dotenv","whitespace"],"gitHead":"769807e5fe5043b42b1e247d6e8a27141f7093f7","bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","_id":"edit-dotenv@1.0.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"stevenvachon","email":"contact@svachon.com"},"dist":{"integrity":"sha512-h5fx5G44WP594FzX6FyY612CQUeB6JBNMD9Xe1ukmV+WYV80oFk2U7xyYzAzrU1cemWd97rDiZEUpa59qVhO8A==","shasum":"b4f971d7c83fbe4ea5246a4bf33a4aa555310950","tarball":"https://registry.npmjs.org/edit-dotenv/-/edit-dotenv-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw1hB5La3Fc7FROdu4xsud/EBMXgPBfIWfnE34sMBl0QIhAJHCwWi+O+mZD1xcj0b3TjzIZkm+3tPkv5qXQJsWi+ok"}]},"maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edit-dotenv-1.0.1.tgz_1499660252053_0.15310432040132582"}},"1.0.2":{"name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","version":"1.0.2","license":"MIT","author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"dependencies":{"eol":"~0.9.0","escape-string-regexp":"^1.0.5"},"devDependencies":{"chai":"^4.0.2","coveralls":"^2.13.1","mocha":"^3.4.2","nyc":"^11.0.3"},"engines":{"node":">= 4"},"scripts":{"ci":"npm run test && nyc report --reporter=text-lcov | coveralls","posttest":"nyc report --reporter=html","test":"nyc --reporter=text-summary mocha test --check-leaks --bail"},"files":["index.js"],"keywords":["dotenv","whitespace"],"gitHead":"63b47b61b36cc7e397612c712f61369dcce65d5e","bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","_id":"edit-dotenv@1.0.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"stevenvachon","email":"contact@svachon.com"},"dist":{"integrity":"sha512-xjnbDuT3M6EozKtpbDM8c7uMip6Aok4EdL5fqGgEOwFJgwkFWXeLP6Nlx/GQ0ecc7vFj1rCciL9xxttDz78vnw==","shasum":"430747ebda5ec7b0625f7d403b1512e6ae39d5fc","tarball":"https://registry.npmjs.org/edit-dotenv/-/edit-dotenv-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqoueb9X0vj58LW5Ce4tarlLsPA6OI2HI0MwdKM8lqfAIgV/p7JdVWzN4OlI43IpFqJUVHkvnpgo6Qf/zFlWoH7oE="}]},"maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edit-dotenv-1.0.2.tgz_1499660995597_0.6075608946848661"}},"1.0.3":{"name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","version":"1.0.3","license":"MIT","author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"dependencies":{"eol":"~0.9.0","escape-string-regexp":"^1.0.5"},"devDependencies":{"chai":"^4.0.2","coveralls":"^2.13.1","mocha":"^3.4.2","nyc":"^11.0.3"},"engines":{"node":">= 4"},"scripts":{"ci":"npm run test && nyc report --reporter=text-lcov | coveralls","posttest":"nyc report --reporter=html","test":"nyc --reporter=text-summary mocha test --check-leaks --bail"},"files":["index.js"],"keywords":["dotenv","whitespace"],"gitHead":"e34367c02583f67832398ef827248a736ad943c9","bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","_id":"edit-dotenv@1.0.3","_npmVersion":"5.2.0","_nodeVersion":"8.1.3","_npmUser":{"name":"stevenvachon","email":"contact@svachon.com"},"dist":{"integrity":"sha512-AkjVDxF0j75VKPMaoyuGKwsqqH1qTP40fxJY3F1nLtI7V1kijlDWc+37cKIPRRfAU/n8sHhEHn1lEkd+c7IiUg==","shasum":"42deccfd72798c03de5c5d65d574488e1b79afee","tarball":"https://registry.npmjs.org/edit-dotenv/-/edit-dotenv-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTTwMotNojk3PUGvzK19OOQ7riyvRU3lWh00L2IFlSgAIhALY5CfYd3eLEhLvilcJR+iyWcu824U/AoNzAgkEQruNf"}]},"maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edit-dotenv-1.0.3.tgz_1499810232891_0.15468903514556587"}},"1.0.4":{"name":"edit-dotenv","description":"Edit a .env file string with preserved whitespace.","version":"1.0.4","license":"MIT","author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"dependencies":{"eol":"~0.9.0","escape-string-regexp":"^1.0.5"},"devDependencies":{"chai":"^4.0.2","coveralls":"^2.13.1","mocha":"^3.4.2","nyc":"^11.0.3"},"engines":{"node":">= 4"},"scripts":{"ci":"npm run test && nyc report --reporter=text-lcov | coveralls","posttest":"nyc report --reporter=html","test":"nyc --reporter=text-summary mocha test --check-leaks --bail"},"files":["index.js"],"keywords":["dotenv","whitespace"],"gitHead":"b6274218d0932cffe8b14984661860f1ca90bcae","bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","_id":"edit-dotenv@1.0.4","_npmVersion":"5.2.0","_nodeVersion":"8.1.3","_npmUser":{"name":"stevenvachon","email":"contact@svachon.com"},"dist":{"integrity":"sha512-te7XBIm7Z22JYln02y1T6L0RA2UioDKSxBUTVHBxPGyb7G9aq2QXc2ZaO1maMUBSjLk61M+hjgoUchU6XdARTA==","shasum":"d57d69a017ecb73e74346f4e13f5d828ce2f9b18","tarball":"https://registry.npmjs.org/edit-dotenv/-/edit-dotenv-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkgC01SB8/sE1KHtufx8PcWNLeUdoxlsnHTWHL67R44AiAO3DhSVwvPdA40ybkKiGRnFU+Eak5jVHhwa9LWIFaWWA=="}]},"maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edit-dotenv-1.0.4.tgz_1499822909282_0.3008922759909183"}}},"readme":"# edit-dotenv [![NPM Version][npm-image]][npm-url] [![Linux Build][travis-image]][travis-url] [![Windows Build][appveyor-image]][appveyor-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Monitor][greenkeeper-image]][greenkeeper-url]\n\n> Edit a `.env` file string with preserved whitespace.\n\n\n## Installation\n\n[Node.js](http://nodejs.org/) `>= 4` is required. To install, type this at the command line:\n```shell\nnpm install edit-dotenv\n```\n\n\n## Usage\n\n```js\nconst editDotenv = require('edit-dotenv');\n\nconst envString = `VAR1=value\nVAR2=value\n\n# Comment\nVAR3=value\\\\nvalue`;\n\nconst changes = {\n  VAR2: 'new value',\n  NEW: 'value'\n};\n\neditDotenv(envString, changes);\n/*↴\nVAR1=value\nVAR2=new value\n\n# Comment\nVAR3=value\\\\nvalue\n\nNEW=value\n*/\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/edit-dotenv.svg\n[npm-url]: https://npmjs.org/package/edit-dotenv\n[travis-image]: https://img.shields.io/travis/stevenvachon/edit-dotenv.svg?label=linux\n[travis-url]: https://travis-ci.org/stevenvachon/edit-dotenv\n[appveyor-image]: https://img.shields.io/appveyor/ci/stevenvachon/edit-dotenv.svg?label=windows\n[appveyor-url]: https://ci.appveyor.com/project/stevenvachon/edit-dotenv\n[coveralls-image]: https://img.shields.io/coveralls/stevenvachon/edit-dotenv.svg\n[coveralls-url]: https://coveralls.io/github/stevenvachon/edit-dotenv\n[greenkeeper-image]: https://badges.greenkeeper.io/stevenvachon/edit-dotenv.svg\n[greenkeeper-url]: https://greenkeeper.io/\n","maintainers":[{"name":"stevenvachon","email":"contact@svachon.com"}],"time":{"modified":"2022-04-30T21:11:23.183Z","created":"2017-07-10T02:55:36.198Z","1.0.0":"2017-07-10T02:55:36.198Z","1.0.1":"2017-07-10T04:17:32.343Z","1.0.2":"2017-07-10T04:29:55.689Z","1.0.3":"2017-07-11T21:57:13.012Z","1.0.4":"2017-07-12T01:28:29.593Z"},"homepage":"https://github.com/stevenvachon/edit-dotenv#readme","keywords":["dotenv","whitespace"],"repository":{"type":"git","url":"git+https://github.com/stevenvachon/edit-dotenv.git"},"author":{"name":"Steven Vachon","email":"contact@svachon.com","url":"https://www.svachon.com/"},"bugs":{"url":"https://github.com/stevenvachon/edit-dotenv/issues"},"license":"MIT","readmeFilename":"README.md"}