wellawaretech/node-zipstream — Issue #2: Possible to stream the zip out, while still adding files
Author: dmmalam
Created: 2012-02-05 01:12:39+00:00
State: open

I have a use case, where I need to get a bunch of files from S3, zip them into one archive, then send it over http to a client.

Would it be possible to start sending the file as soon as some files are streamed in from S3, so the entire archive doesnt need to be buffered in memory?

Ie start file 1 from S3, pipe it into zipstream, and pipe that to te response?