brotli-wasm
brotli-wasm copied to clipboard
Chunking support for large files
trafficstars
The ability, or an example if already supported (via buffer.write?), to allow NodeJS/WebStream to be build around it.
Example: https://github.com/Daninet/hash-wasm#advanced-usage-with-streaming-input
Streaming support is available - there's some examples in the tests here: https://github.com/httptoolkit/brotli-wasm/blob/47542a2d76bf87ce721fcceefe046b81b352c6e0/test/brotli.spec.ts#L105-L265
That's really just exposing the underlying crate's own streaming API. No proper documentation yet, but PRs are very welcome!
Thanks, I'll try this approach out