code: function getData(request, envPath) {
    try {
  
      if ( cached.data == null) {
  
        cached.data = [];
  
        // convert Buffers before splitting into lines and processing
        getFile(envPath).toString().split('\n').forEach(function (line) {
          // matching "KEY' and 'VAL' in 'KEY=VAL'
          const keyValueArr = line.match(/^\s*([\w\.\-]+)\s*=\s*(.*)?\s*$/)
          // matched?
          if (keyValueArr != null) {
            const key = keyValueArr[1]
  
            // default undefined or missing values to empty string
            let value = keyValueArr[2] || ''
  
            // expand newlines in quoted values
            const len = value ? value.length : 0
            if (len > 0 && value.charAt(0) === '"' && value.charAt(len - 1) === '"') {
              value = value.replace(/\\n/gm, '\n')
            }
  
            // remove any surrounding quotes and extra spaces
            value = value.replace(/(^['"]|['"]$)/g, '').trim()
  
            cached.data[key] = value
          }
        })
  
        Object.keys(cached.data).forEach(function (key) {
          if (!process.env.hasOwnProperty(key)) {
            process.env[key] = cached.data[key]
          }
        })
  
      }
  
  
      if (typeof request !== 'undefined' && typeof cached.data[request.toUpperCase()] !== 'undefined') {
        return cached.data[request.toUpperCase()];
      }
  
      return cached.data;
  
    } catch (e) {
  
      return { error: e }
  
    }
  }
docs: ============================================================================= Get .env file data as an object ============================================================================= 
  Get the .env file as an object
  @see    https://github.com/motdotla/dotenv/blob/master/lib/main.js
  @param  {string} request Request a specific variable from the .env file instead of the full object
  @param  {string} envPath Add a relative path to the .env file. Defaults to root.
  @return {object | string}