Natively Pronounced Mandarin
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

dotenv-stringify

1.0.0 • Public • Published

dotenv-stringify

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

var fs = require('fs');
var stringify = require('dotenv-stringify');
var envstr = stringify(process.env);
fs.writeFileSync('.env', envstr);

Contributions

Install dev dependencies:

$ npm install

Run tests:

$ npm test

Build files:

$ npm run build

License

MIT License

install

npm i dotenv-stringify

Downloadsweekly downloads

185

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability