function removeItem(key, options) {
  if (!key) return
  const type = getStorageType(options)
  const values = getItem(key, ALL)

  const data = {}
  /* 1. Try localStorage */
  if (!isUndefined(values.localStorage) && useLocal(type)) {
    localStorage.removeItem(key)
    data[LOCAL_STORAGE] = values.localStorage
  }
  /* 2. Fallback to cookie */
  if (!isUndefined(values.cookie) && useCookie(type)) {
    removeCookie(key)
    data[COOKIE] = values.cookie
  }
  /* 3. Try sessionStorage */
  if (!isUndefined(values.sessionStorage) && useSession(type)) {
    sessionStorage.removeItem(key)
    data[SESSION_STORAGE] = values.sessionStorage
  }
  /* 4. Fallback to window/global */
  if (!isUndefined(values.global) && useGlobal(type)) {
    remove(key)
    data[GLOBAL] = values.global
  }
  return data
}
Remove values from localStorage, cookie, or window
@param {string} key - key of item to set
@param {object|string} [options] - storage options. If string location of where to get storage
@param {string} [options.storage] - Define type of storage to pull from.