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