adm-zip
adm-zip copied to clipboard
How to use in ES6 ?
You can include the lib with the following and then the behavior should be the same.
import pkg from 'adm-zip';
const AdmZip = pkg;
this haven't work( trying calling new AdmZip() saying, that admzip.default doesn't have constructor
import AdmZip from 'adm-zip'
const zip = new AdmZip()