Functions
Link copied to clipboard
Get files matching a RegExp from archive
Get a file from the archive
Add a file to the archive
Link copied to clipboard
fun filter(predicate: (relativePath: String, file: JSZipObject) -> Boolean): ReadonlyArray<JSZipObject>
Get all files which match the given filter function
Link copied to clipboard
Returns new JSZip instances with the matching folders as root
Returns an new JSZip instance with the given folder as root
Link copied to clipboard
Call a callback function for each entry at this folder level.
Link copied to clipboard
fun <T : JsAny> generateAsync(options: JSZipGeneratorOptions<T>, onUpdate: OnUpdateCallback? = definedExternally): Promise<T>
Generates a new archive asynchronously
Link copied to clipboard
Deserialize zip file asynchronously
Link copied to clipboard
Deserialize zip file asynchronously