Skip to content

ECMAScript compliant lightweight zlib implementation

License

Notifications You must be signed in to change notification settings

zprodev/zlib.es

Repository files navigation

zlib.es

npm Build Size Build Status license

ECMAScript compliant lightweight zlib implementation

Distribution

npm

npm i zlib.es

files

for browser

for CommonJS

for ESModules

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

About

ECMAScript compliant lightweight zlib implementation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published