Package Exports
- js-7z
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-7z) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Usage
Functions
- Extract(file, out)
Extract zip file
- Compress(file, folder)
Zip a folder
Extract(file, out)
Extract zip file
Param | Type | Description |
---|---|---|
file | String |
File that we want to decompress |
out | String |
Folder where we want the file to be decompressed |
Compress(file, folder)
Zip a folder
Param | Type | Description |
---|---|---|
file | String |
File URL |
folder | String |
Folder you want to compress |