Skip to content

Latest commit

 

History

History

offline

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@keyv/offline keyv

Offline storage adapter for Keyv

build codecov npm npm

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);

License

MIT © Jared Wray