update-dotenv
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i update-dotenv

Weekly Downloads

37,675

Version

1.1.1

License

ISC

Unpacked Size

3.86 kB

Total Files

6

Last publish

Collaborators

  • bkeepers