@2l/kafkajs-lz4
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

@2l/kafkajs-lz4

Build Status NPM Version

TypeScript-ready lz4 compression codec for KafkaJS.

ℹ️ Requires Node v20 or above to work.

Install

$ yarn add @2l/kafkajs-lz4

Usage

import { CompressionTypes, CompressionCodecs } from 'kafkajs';
import LZ4Codec from '@2l/kafkajs-lz4';

CompressionCodecs[CompressionTypes.LZ4] = new LZ4Codec().codec;

Development

$ yarn install
$ yarn test

Author

Thanks to the original author: indix for the initial implementation.

Contributors

License

MIT

Package Sidebar

Install

npm i @2l/kafkajs-lz4

Homepage

appewa.com/

Weekly Downloads

9

Version

1.3.2

License

MIT

Unpacked Size

5.46 kB

Total Files

5

Last publish

Collaborators

  • r3bfish
  • snikitin
  • pshx
  • gurgenyvn
  • irik1
  • mila_sh
  • vsotnikov_ewa
  • dmitriyug
  • front_evg