Skip to content

Deflate and inflate on typed arrays using the Compression Streams API, provided as a Promises based API.

License

Notifications You must be signed in to change notification settings

pthomaid/native-deflate

Repository files navigation

native-deflate

Deflate and inflate typed arrays without external dependencies, provided as a promises based API.

npm install native-deflate

usage

import nd from 'native-deflate'

const dataIn = new Uint8Array(Array.from({ length: 100 }, () => Math.floor(Math.random() * 100)))
const dataOut = await nd.deflate(dataIn)

license

MIT.

About

Deflate and inflate on typed arrays using the Compression Streams API, provided as a Promises based API.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published