jszip
JSZip·newJSZip()orJSZip()·JSZip#file(name)·JSZip#file(regex)·JSZip#file(name,data[,options])·JSZip#folder(name)·JSZip#folder(regex)·JSZip# ...,Returns:ThecurrentJSZipobject,forchaining.Since:v1.0.0.Arguments.name,type,description.name,string,then...
JSZip是一个JavaScript库,用于使用可爱且简单的API创建,读取和编辑.zip文件,轻松实现zip文件读取和打包zip.
** 本站引用參考文章部分資訊,基於少量部分引用原則,為了避免造成過多外部連結,保留參考來源資訊而不直接連結,也請見諒 **
此文章參考的來源相關文章推薦
file(name)
JSZip · new JSZip() or JSZip() · JSZip#file(name) · JSZip#file(regex) · JSZip#file(name, data [,options]) · JSZip#folder(name) · JSZip#folder(regex) · JSZip# ...
file(name, data [,options])
Returns : The current JSZip object, for chaining. Since: v1.0.0. Arguments. name, type, description. name, string, the name of the file ...
How to read a file
If the browser supports the FileReader API, you can use it to read a zip file. JSZip can read ArrayBuffer, so you can use FileReader.readAsArrayBuffer(Blob) , ...
How to use JSZip
An instance of JSZip represents a set of files. You can add them, remove them, modify them. You can also import an existing zip file or generate one.
JSZip
JSZip is a javascript library for creating, reading and editing .zip files, with a lovely and simple API. Current version : v3.
JSZip API
An instance of JSZip represents a set of files. You can add them, remove them, modify them. You can also import an existing zip file or generate one.
loadAsync(data [, options])
loadAsync(data [, options]). Read an existing zip and merge the data in the current JSZip object at the current folder level.
Stukjszip
JSZip. A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API. See https://stuk.github.io/jszip for all the ...