zlib.es
ECMAScript compliant lightweight zlib implementation
Distribution
npm
npm i zlib.es
files
Usage
compression
import { deflate } from 'zlib.es';
const compressedData = deflate(rawData); // Input type is Uint8Array
decompression
import { inflate } from 'zlib.es';
const rawData = inflate(compressedData);