Creates the stream.
Optional
options: ZipWriterConstructorOptionsThe options.
The readable stream.
The ZipWriter property.
Writes the entries directory, writes the global comment, and returns the content of the zipped file.
Optional
comment: Uint8Array<ArrayBuffer>The global comment of the zip file.
Optional
options: ZipWriterCloseOptionsThe options.
The content of the zip file.
Returns a WritableStream for the .pipeTo method
The directory path of where the stream should exist in the zipped stream.
A WritableStream.
Represents an instance used to create a zipped stream.
Example
This example creates a zipped file called numbers.txt.zip containing the numbers 0 - 1000 each on their own line.
Example
This example creates a zipped file called Archive.zip containing two files called numbers.txt and letters.txt