JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7780
  • Score
    100M100P100Q128910F
  • License MIT

Compose a envfile string from an object, per the motdotla/dotenv parser specifications

Package Exports

  • dotenv-stringify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dotenv-stringify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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