codedread / bitjs

Binary Tools for JavaScript
MIT License
84 stars 7 forks source link

Look at CompressionStream for zip #40

Closed codedread closed 10 months ago

codedread commented 1 year ago

https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API

codedread commented 1 year ago

and https://caniuse.com/mdn-api_compressionstream_compressionstream_deflate

sntran commented 10 months ago

For a reference, zip.js has an implementation with CompressionStream: https://gildas-lormeau.github.io/zip.js/

codedread commented 10 months ago

Hopefully fixed. Will be part of the 1.2.2 release.