An open API service indexing awesome lists of open source software.

https://github.com/bkeepers/update-dotenv

A NodeJS module to write updates to a .env file
https://github.com/bkeepers/update-dotenv

Last synced: about 1 year ago
JSON representation

A NodeJS module to write updates to a .env file

Awesome Lists containing this project

README

          

# update-dotenv

> A NodeJS module to write updates to a .env file

## Installation

```
npm install dotenv update-dotenv
```

## Usage

```js
const updateDotenv = require('update-dotenv')

updateDotenv({
MY_VARIABLE: 'new value'
}).then((newEnv) => console.log('Done!', newEnv))
```

## License

[ISC](LICENSE)