Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@keyv/compress-gzip

jaredwray9.6kMIT2.0.3TypeScript support: included

gzip compression for keyv

compress, gzip, keyv, storage, adapter, key, value, store, cache, ttl

readme

@keyv/compress-gzip keyv

Gzip compression for Keyv

build codecov npm npm

Gzip compression for Keyv.

Install

npm install --save keyv @keyv/compress-gzip

Usage

import Keyv from 'keyv';
import KeyvGzip from '@keyv/compress-gzip';

const keyv = new Keyv({store: new Map(), compression: new KeyvGzip()});

API

@keyv/compress-gzip([options])

options

All options for @keyv/compress-gzip are based on the package compress-gzip

License

MIT © Jared Wray