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

1.0.0 • Public • Published

@keyv/compress-lz4 keyv

lz4 compression for Keyv

build codecov npm npm

lz4 compression for Keyv.

lz4 is a data compression algorithm that is designed to be fast and efficient and is provided by the package lz4-napi.

Install

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

Usage

import Keyv from 'keyv';
import KeyvLz4 from '@keyv/compress-lz4';

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

API

@keyv/compress-lz4([options])

options

All options for @keyv/compress-lz4 are based on the package lz4-napi.

License

MIT © Jared Wray

Package Sidebar

Install

npm i @keyv/compress-lz4

Weekly Downloads

273

Version

1.0.0

License

MIT

Unpacked Size

8.03 kB

Total Files

7

Last publish

Collaborators

  • jaredwray