

The Open methods load take a different approach: load the central directory first (at the end of the zipfile) and provide the ability to pick and choose which zipfiles to extract, even extracting them in parallel. Previous methods rely on the entire zipfile being received through a pipe. The Open methods will check for crx headers and parse crx files, but only if you provide crx: true in options. crx file with the streaming methods ( Parse and ParseOne). Please note: Methods that use the Central Directory instead of parsing entire file can be found under OpenĬhrome extension files (.crx) are zipfiles with an extra header at the start of the file. There are no added compiled dependencies - inflation is handled by node.js's built in zlib support.
NPM UNZIPPER ZIP
Unzipper provides simple APIs similar to node-tar for parsing and extracting zip files. The new Parser will push any parsed entries downstream if you pipe from it, while still supporting the legacy entry event as well.īreaking changes: The new Parser will not automatically drain entries if there are no listeners or pipes in place. The structure of this fork is similar to the original, but uses Promises and inherit guarantees provided by node streams to ensure low memory footprint and emits finish/close events at the end of processing. Any files are buffered into memory before passing on to entry.finish/close events are not always triggered, particular when the input stream is slower than the receivers.

This is an active fork and drop-in replacement of the node-unzip and addresses the following issues:
