@growflow/update-dotenv
v1.0.4
Published
> A NodeJS module to write updates to a .env file
Downloads
3,072
Keywords
Readme
update-dotenv
A NodeJS module to write updates to a .env file
Installation
yarn add dotenv @growflow/update-dotenv
Usage
const updateDotenv = require('@growflow/update-dotenv')
updateDotenv({
MY_VARIABLE: 'new value'
}, <optional_environment_name>).then((newEnv) => console.log('Done!', newEnv))