index.js
function del(path, opts) {
  if (typeof opts === 'undefined') {
    opts = {};
  }

  keys(path, opts).forEach(key => delete process.env[key]);
}
function del(path, opts) {
  if (typeof opts === 'undefined') {
    opts = {};
  }

  keys(path, opts).forEach(key => delete process.env[key]);
}
function del ( path , opts ) { if ( typeof opts === 'undefined' ) { opts = { } ; } keys ( path , opts ) . forEach ( key => delete process . env [ key ] ) ; }
Deletes an env key at the path specified.
If nested keys are present they will be deleted too.
@public
@param  {string} path A dot separated path.
@param  {object} [opts] Additional options.
@param  {boolean} [opts.caseSensitive=false] If true no case conversion is
performed from the dot path provided to the env key search.
Eg: 'tesT.kEy' will look for tesT_kEy environment variable instead of TEST_KEY.
Deletes an env key at the path specified . If nested keys are present they will be deleted too .