Skip to main content
Module

x/jszip/types.ts>JSZipGeneratorOptions

A JSZip wrapper for handling zipfiles in deno
Latest
interface JSZipGeneratorOptions
import { type JSZipGeneratorOptions } from "https://deno.land/x/jszip@0.11.0/types.ts";

Properties

optional
compression: Compression
optional
compressionOptions: null | { level: number; }
optional
type: T
optional
comment: string
optional
mimeType: string

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

optional
streamFiles: boolean

Stream the files and create file descriptors

optional
platform: "DOS" | "UNIX"

DOS (default) or UNIX

Methods

optional
encodeFileName(filename: string): string