index.js
function flush () {
  return storage.keys().then(keys => {
    return storage.remove(
      keys.filter(key => key.indexOf(prefix) === 0 || key.indexOf(expire) === 0)
    )
  })
}
function flush () {
  return storage.keys().then(keys => {
    return storage.remove(
      keys.filter(key => key.indexOf(prefix) === 0 || key.indexOf(expire) === 0)
    )
  })
}
function flush ( ) { return storage . keys ( ) . then ( keys => { return storage . remove ( keys . filter ( key => key . indexOf ( prefix ) === 0 || key . indexOf ( expire ) === 0 ) ) } ) }
Remove all cached values from storage
Remove all cached values from storage