ziparchive
v1.0.0
Published
Library for handling ZIP archive streams
Downloads
4
Maintainers
Readme
ziparchive
JavaScript Library (native JS with alternate C++ implementation coming soon!) for dealing with ZIP archives.
To Install
npm i --save ziparchive
Usage
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.