update-dotenv
v1.1.1
Published
Write updates to a .env file
Downloads
157,809
Readme
update-dotenv
A NodeJS module to write updates to a .env file
Installation
npm install dotenv update-dotenv
Usage
const updateDotenv = require('update-dotenv')
updateDotenv({
MY_VARIABLE: 'new value'
}).then((newEnv) => console.log('Done!', newEnv))