title: Create zip archive larger than 4 GiB that can be opened via MacOS Archive Utility
body: <p>I am trying to generate large zip file (without compression, just storing the files) on the fly and stream it via <code>restify</code>. The zip file can be bigger than 4 GiB in total and I ran to issue with ZIP64 format, that seems not to be supported properly on MacOS. </p>
  
  <p>I tried using <a href="https://github.com/archiverjs/node-archiver" rel="nofollow noreferrer" title="node-archiver"><code>node-archiver</code></a> and <a href="https://github.com/thejoshwolfe/yazl" rel="nofollow noreferrer" title="yazl"><code>yazl</code></a>, they are both able to generate the zip file, but I am not able to open it via native graphical utility in MacOS (e.g. just double-clicking on the file in Finder). The weirdest thing about this is, that the native <code>unzip</code> command line utility works fine here, just the graphical Archive Utility is not working. </p>
  
  <p>I also tried to create the zip using simple java implementation and the resulting file works ok even with the graphical Archive Utility, so the problem is probably in implementation of <code>node-archiver</code>/<code>yazl</code> libraries. I also tried to create the zip via command line (<code>zip file.zip -0 ...files</code>), and it can also be opened via Archive Utility.</p>
  
  <p>What is the correct way to handle this situation? Is there some other node library that can produce ZIP64 format that can be opened via Archive Utility? </p>
  
  <p>It is necessary to stream the zip file, not storing it on disk. I am running latest version of MacOS sierra (10.12.5 beta) and node 6.9.1. </p>