JSZip-unzip
A JSZip version of the unzip
command for extracting all the entries
from a ZIP archive into a specified directory,
creating any required subdirectories.
The target directory can be a physical one (if running in Node.js) or
a simulated one by supplying the fs
option to unzip
.
The passed object must support the functions mkdirSync
, statSync
, and
writeFileSync
with signatures compatible with Node.js's fs
.
One such object can be found in memfs.
;;
With memfs
:
;; { var data = await raw = await data; await ;}