Zip
A zippable archive to which files can incrementally be added
class Zip {}
constructor(cb?: AsyncFlateStreamHandler);
§Constructors
§
new Zip(cb?: AsyncFlateStreamHandler)
[src]Creates an empty ZIP archive to which files can be added
@param cb
The callback to call whenever data for the generated ZIP archive is available
§Properties
§
ondata: AsyncFlateStreamHandler
[src]The handler to call whenever data is available
§Methods
§
add(file: ZipInputFile): void
[src]Adds a file to the ZIP archive
@param file
The file stream to add