constructor_load.md 378 B


title: "new JSZip(data [,options]) or JSZip(data [,options])" layout: default

section: api

This is a shortcut for

var zip = new JSZip();
zip.load(data, options);

Please see the documentation of load.

Example

var zip = new JSZip(data, options);
// same as
var zip = JSZip(data, options);