thejoshwolfe/yauzl: yet another unzip library for node
06-Nov-2024 92
yet another unzip library for node. For zipping, see yazl.
Design principles:
Follow the spec. Don't scan for local file headers. Read the central directory for file metadata. (see No Streaming Unzip API).
Don't block the JavaScript thread. Use and provide async APIs.
Keep memory usage under control. Don't attempt to buffer entire files in RAM at once.
Never crash (if used properly). Don't let malformed zip files bring down client applications who are trying to catch errors.
Catch unsafe file names. See validateFileName().
thejoshwolfe/yauzl: yet another unzip library for node #js #javascript #thejoshwolfe/yauzl: #another #unzip #library #library https://www.javascript.ba/link/thejoshwolfe-yauzl-yet-another-unzip-library-for-node