janjongboom / node-native-zip

Zipping in node.js with no external dependencies
106 stars 24 forks source link

estimating total zip size beforehand? #11

Open nickmerwin opened 11 years ago

nickmerwin commented 11 years ago

Hi, is there a built in way to estimate the final file size of a zip with no compression based on the sum of the file sizes?

I'm streaming a series of files from S3 into a zip and streaming those to the browser, but it would be nice to be able to send a Content-Length header too.

Thanks.