Function zipSync
- zipSync(data: Zippable, opts?: ZipOptions): Uint8Array
Parameters
- data: Zippable
The directory structure for the ZIP archive
Optional
opts: ZipOptionsThe main options, merged with per-file options
Returns Uint8Array
The generated ZIP archive
- data: Zippable
Synchronously creates a ZIP file. Prefer using
zip
for better performance with more than one file.