@keyv/compress-brotli

Brotli compression for Keyv

build codecov npm npm

Brotli compression for Keyv.

Brotli is a data compression algorithm that is designed to be fast and efficient.

Install

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

Usage

import Keyv from 'keyv';
import KeyvBrotli from '@keyv/compress-brotli';

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

API

@keyv/compress-brotli([options])

options

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

License

MIT © Jared Wray