1.0.4 • Published 2 years ago
@can-courier/update-dotenv v1.0.4
update-dotenv
A NodeJS module to write updates to a .env file
Installation
yarn add dotenv @can-courier/update-dotenv
Usage
const updateDotenv = require('@can-courier/update-dotenv')
updateDotenv({
MY_VARIABLE: 'new value'
}, <optional_environment_name>).then((newEnv) => console.log('Done!', newEnv))
License
1.0.4
2 years ago