Skip to content

GrowflowTeam/update-dotenv

 
 

Repository files navigation

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))

License

ISC

About

A NodeJS module to write updates to a .env file

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • TypeScript 90.2%
  • JavaScript 9.8%