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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i update-dotenv

    Weekly Downloads

    30,235

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.86 kB

    Total Files

    6

    Last publish

    Collaborators

    • bkeepers