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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    36,301
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    36,301
  • 1.1.0
    19
  • 1.0.0
    0

Package Sidebar

Install

npm i update-dotenv

Weekly Downloads

29,618

Version

1.1.1

License

ISC

Unpacked Size

3.86 kB

Total Files

6

Last publish

Collaborators

  • bkeepers