1.1.1 • Published 6 years ago
update-dotenv v1.1.1
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))