dotenv-stringify

3.0.1 • Public • Published

dotenv-stringify

Build Status Download Status Sponsor on GitHub

Compose a envfile string from an object, per the motdotla/dotenv parser specifications. Objects stringified using this package will be parsable by dotenv.parse().

Installation

$ npm install dotenv-stringify

Usage

import fs from 'fs'
import stringify from 'dotenv-stringify'
const envstr = stringify(process.env);
fs.writeFileSync('.env', envstr);

License

MIT License

Package Sidebar

Install

npm i dotenv-stringify

Weekly Downloads

1,286

Version

3.0.1

License

MIT

Unpacked Size

4.57 kB

Total Files

5

Last publish

Collaborators

  • compwright