JSZipGeneratorOptions

Properties

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

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

Link copied to clipboard

Sets compression level for DEFLATE compression.

Link copied to clipboard
abstract var encodeFileName: (filename: String) -> String?
Link copied to clipboard
abstract 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 var platform: Platform?

DOS (default) or UNIX

Link copied to clipboard
abstract var streamFiles: Boolean?

Stream the files and create file descriptors

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