We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archive contains a number of text files. Archive works fine using unzip on unix.
{ [Error: invalid distance code] errno: -3, code: 'Z_DATA_ERROR' }
var fs = require('fs'); var unzip = require('unzip'); var path = 'archive.zip'; var incoming = fs.createReadStream(path).pipe(unzip.Parse()); incoming.on('error', function errorCB (error) { if (error) { callback(error); return; } }); incoming.on('entry', function entryCB (entry) { if (self._isArchive(entry.path) === false) { entry.autodrain(); } else { console.log(entry.path); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Archive contains a number of text files. Archive works fine using unzip on unix.
{ [Error: invalid distance code] errno: -3, code: 'Z_DATA_ERROR' }
The text was updated successfully, but these errors were encountered: