Skip to main content
Deno 2 is finally here 🎉️
Learn more

zlib.es

ECMAScript/Deno compliant lightweight zlib implementation

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);