Package Exports
- ziparchive
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 (ziparchive) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ziparchive
JavaScript Library (native JS with alternate C++ implementation coming soon!) for dealing with ZIP archives.
To Install
npm i --save ziparchiveUsage
Right now, only extractFirstFile works (and only with DEFLATE compressed ZIPs).
const { extractFirstFile } = require('ziparchive');
extractFirstFile('./myfile.zip')
.then(buffer => { ... do something ... })
.catch(console.error);License
Open Source under the MIT license. Contributions are welcome.