generateInternalStream(options)

Description : Generates the complete zip file with the internal stream implementation.

Arguments

name type default description
options object   the options to generate the zip file, see the options of generateAsync()

Metadata : see the metadata of generateAsync().

Returns : a StreamHelper.

Throws : Nothing.

Example

zip.generateInternalStream({type:"blob"}).accumulate(function callback(err, content) {
  if (err) {
    // handle error
  }
  // see FileSaver.js
  saveAs(content, "hello.zip");
}, function updateCallback(metadata) {
  // print progression with metadata.percent and metadata.currentFile
});