yazl - "yet another zip library" - https://github.com/thejoshwolfe/yazl
yauzl - "yet another unzip library" - https://github.com/thejoshwolfe/yauzl

Design principles:

 * Follow the spec. Don't scan for local file headers. Read the central 
directory for file metadata.
 * Don't block the JavaScript thread. Use and provide async APIs.
 * Never crash (if used properly). Don't let malformed zip files bring down 
client applications who are trying to catch errors.
 * Catch unsafe filenames entries. A zip file entry throws an error if its 
file name starts with "/" or /[A-Za-z]:\// or if it contains ".." path 
segments or "\\" (per the spec).
 * Keep memory usage under control. Don't attempt to buffer entire files in 
RAM at once.
 * Prefer to open input files one at a time than all at once. This is 
slightly suboptimal for time performance, but avoids OS-imposed limits on 
the number of simultaneously open file handles.

thejoshwolfe writes quality code. I've looked at all the modules available 
right now for creating and for reading .zip files, and these two are by far 
the most correct, efficient, and robust. These modules have been integrated 
and tested with groovebasin <https://github.com/andrewrk/groovebasin> for 
some time now.

Enjoy!

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/eb8b7d04-63b6-4ee6-a2ff-6026fc2126a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to