TyphonJS Runtime Library (FVTT) 0.3.0
  • #runtime/data/compress
  • zipSync

Function zipSync

  • zipSync(data: Zippable, opts?: ZipOptions): Uint8Array<ArrayBuffer>

    Synchronously creates a ZIP file. Prefer using zip for better performance with more than one file.

    Parameters

    • data: Zippable

      The directory structure for the ZIP archive

    • Optionalopts: ZipOptions

      The main options, merged with per-file options

    Returns Uint8Array<ArrayBuffer>

    The generated ZIP archive

Settings

Member Visibility
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.3.0