Function: zipSync()
May 16, 2026 ยท View on GitHub
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
The directory structure for the ZIP archive
opts?
The main options, merged with per-file options
Returns
Uint8Array<ArrayBuffer>
The generated ZIP archive