Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 362 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 362 Bytes

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.