Function: unzipSync()

May 16, 2026 ยท View on GitHub

fflate


Function: unzipSync()

unzipSync(data: Uint8Array, opts?: UnzipOptions): Unzipped

Synchronously decompresses a ZIP archive. Prefer using unzip for better performance with more than one file.

Parameters

data

Uint8Array

The raw compressed ZIP file

opts?

UnzipOptions

The ZIP extraction options

Returns

Unzipped

The decompressed files

Contents

  1. 1Parameters
  2. 1.1data
  3. 1.2opts?
  4. 2Returns