Sha256: e1c7c0faa4193b1bf81ce0934546f08879ee223ba6399fb5158e485429805cec

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

/* @flow */

// ../config.js accepts options via environment variables
const options = {}

if (process.env.DOTENV_CONFIG_ENCODING) {
  options.encoding = process.env.DOTENV_CONFIG_ENCODING
}

if (process.env.DOTENV_CONFIG_PATH) {
  options.path = process.env.DOTENV_CONFIG_PATH
}

if (process.env.DOTENV_CONFIG_DEBUG) {
  options.debug = process.env.DOTENV_CONFIG_DEBUG
}

module.exports = options

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
synapse_fi-0.0.3 node_modules/dotenv/lib/env-options.js
synapse_fi-0.0.2 node_modules/dotenv/lib/env-options.js
synapse_fi-0.0.1 node_modules/dotenv/lib/env-options.js