包详细信息

@keyv/compress-lz4

jaredwray9.9kMIT1.0.0

lz4 compression for Keyv

compress, lz4-napi, lz4, snappy

自述文件

@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