A zippable archive to which files can incrementally be added

Constructors

Methods

Properties

Constructors

  • Creates an empty ZIP archive to which files can be added

    Parameters

    Returns Zip

Methods

  • Adds a file to the ZIP archive

    Parameters

    Returns void

  • Ends the process of adding files and prepares to emit the final chunks. This must be called after adding all desired files for the resulting ZIP file to work properly.

    Returns void

  • A method to terminate any internal workers used by the stream. Subsequent calls to add() will fail.

    Returns void

Properties

The handler to call whenever data is available