Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 305 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 305 Bytes

zlib.es

ECMAScript/Deno 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);