unzip

external fun unzip(source: String, path: String, filter: (String) -> Boolean? = definedExternally): Promise<Unit>

Unpack a .zip archive into path.

filter receives the normalized target path of each entry and returns true to extract it. Hidden macOS ._* files are skipped, and entries with absolute paths or path traversal are rejected.