janjongboom / node-native-zip

Zipping in node.js with no external dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

estimating total zip size beforehand?

nickmerwin opened this issue · comments

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.