Offline storage adapter for Keyv
Offline storage adapter for Keyv.
This is a wrapper over Keyv
to support offline mode.
npm install --save keyv @keyv/offline
import Keyv from 'keyv';
import KeyvOffline from '@keyv/offline';
const keyvOffline = new KeyvOffline(new Keyv());
keyvOffline.on('error', handleConnectionError);