@keyv/offline

Offline storage adapter for Keyv

build codecov npm npm

Feature is Deprecated

This feature is deprecated and will be removed in 2025 as it is no longer needed.

offline and tiered mode for caching is built into the core Cacheable library which uses Keyv under the hood. Please use the Cacheable library for offline and tiered caching.

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