![]() ![]() There's no support for encrypted (password protected) zips, or symlinks. Based on project statistics from the GitHub repository for the npm package unzipper, we found that it has been starred 354 times, and that 779 other projects in the ecosystem are dependent on it. As such, we scored unzipper popularity level to be Influential project. If (filePath = "this IS the file I'm looking for") ) Ĭurrently ZIP files up to version 4.5 are supported (which includes Zip64 support - archives with 4GB+ files). The npm package unzipper receives a total of 1,779,522 downloads a week. Var size = entry.size // might be undefined in some archives Var type = entry.type // 'Directory' or 'File' Otherwise the stream will get stuck.įs.createReadStream('path/to/archive.zip') _Important_: If you do not intend to consume an entry stream's raw data, call autodrain() to dispose of the entry'sĬontents. Process each zip file entry or pipe entries to another stream. Please note that the zip file format isn't really meant to be processed by streaming, though this library should succeed in most cases, if you do have complete zip file available, you should consider using other libraries which read zip files from the end - as originally intended (for example ( ) or ( )). There are no added compiled dependencies - inflation is handled by node.js's built in zlib support. It uses new streaming engine which allows it to process also files which would fail with unzip. Your app is ready to be deployed See the section about deployment for more information. The build is minified and the filenames include the hashes. It correctly bundles React in production mode and optimizes the build for the best performance. This package is based on ( ) (and its fork ( )) and provides simple APIs for parsing and extracting zip files. Builds the app for production to the build folder. Streaming cross-platform unzip tool written in node.js.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |