Appearance
Function: readZip() ​
readZip(
input):Promise<Map<string,Uint8Array<ArrayBufferLike>>>
Decompress a zip archive to a path → bytes map in central-directory order.
Read-path counterpart to ZipWriter: fflate's unzipSync needs a Uint8Array, so the JSZip-style input auto-detection that loadAsync did is reproduced by toUint8Array first. Directory markers (keys ending in /) are dropped — fflate surfaces them but no consumer wants empty-dir entries, and the write path emits none.
Parameters ​
| Parameter | Type |
|---|---|
input | ZipInput |
Returns ​
Promise<Map<string, Uint8Array<ArrayBufferLike>>>