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

1.1.6 • Public • Published

@keyv/compress-brotli keyv

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

const KeyvBrotli = require('@keyv/compress-brotli');
const Keyv = require('keyv');

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

Package Sidebar

Install

npm i @keyv/compress-brotli

Weekly Downloads

875

Version

1.1.6

License

MIT

Unpacked Size

8 kB

Total Files

10

Last publish

Collaborators

  • jaredwray
  • lukechilds