JSZipGeneratorOptions

Properties

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

DOS (default) or UNIX

Link copied to clipboard
abstract val streamFiles: Boolean?

Stream the files and create file descriptors

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