JSZipGeneratorOptions

interface JSZipGeneratorOptions<T : JsAny>(source)

Properties

Link copied to clipboard
abstract external var comment: String?
Link copied to clipboard
abstract external var compression: Compression?

Sets compression option for all entries that have not specified their own compression option

Link copied to clipboard
abstract external var compressionOptions: CompressionOptions?

Sets compression level for DEFLATE compression.

Link copied to clipboard
abstract external var encodeFileName: (filename: String) -> String?
Link copied to clipboard
abstract external var mimeType: String?

mime-type for the generated file. Useful when you need to generate a file with a different extension, ie: “.ods”.

Link copied to clipboard
abstract external var platform: Platform?

DOS (default) or UNIX

Link copied to clipboard
abstract external var streamFiles: Boolean?

Stream the files and create file descriptors

Link copied to clipboard
abstract external var type: OutputType<T>