This package has been deprecated

Author message:

Offline and tiered mode are now built into the cacheable library and is powered by Keyv. Please use https://www.npmjs.com/package/cacheable

@keyv/offline
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

@keyv/offline keyv

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

Package Sidebar

Install

npm i @keyv/offline

Weekly Downloads

323

Version

4.0.2

License

MIT

Unpacked Size

12.4 kB

Total Files

9

Last publish

Collaborators

  • jaredwray