1.0.0 • Published 9 months ago
@keyv/compress-lz4 v1.0.0
@keyv/compress-lz4
lz4 compression for Keyv
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-lz4Usage
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
1.0.0
9 months ago