title: Send zip created by node-zip
body: <p>Let's say you create a zip file in-memory following the example from <code>node-zip</code>'s documentation:</p>
  
  <pre><code>var zip = new require('node-zip')()
  zip.file('test.file', 'hello there')
  var data = zip.generate({type:'string'})
  </code></pre>
  
  <p>How do you then send <code>data</code> to a browser such that it will accept it as a download?</p>
  
  <p>I tried this, but the download hangs at 150/150 bytes AND makes Chrome start eating 100% CPU:</p>
  
  <pre><code>res.setHeader('Content-type: application/zip')
  res.setHeader('Content-disposition', 'attachment; filename=Zippy.zip');
  res.send(data)
  </code></pre>
  
  <p><strong>So what's the proper way to send zip data to a browser?</strong></p>