yazl
yazl copied to clipboard
yet another zip library for node
Attempting to require this module on Node v0.10 gives the following error: ``` yazl/index.js:391 this.setFileAttributesMode(isDirectory ? 0o40775 : 0o100664); ^ SyntaxError: Unexpected token ILLEGAL ``` Octal literals were not added...
Classes, const, some jsdoc comments for type hinting, switched to jest, etc
It would be nice to have an option to have `addBuffer` compress the buffer if that makes the resulting file smaller. I'm not sure it would really work for `addFile`...
This change lets callers add tagged extra fields to central directory records. For compatibility with [`yauzl`](https://github.com/thejoshwolfe/yauzl#extrafields), the shape of `extraFields` is the same: an `Array` with each entry of the...
I'm using a variation on the code at https://github.com/thejoshwolfe/yazl/issues/30#issuecomment-262147234 to unzip, edit an entry, then zip again. I'm having trouble with: ```js originalZipFile.on('entry', function(entry) { if (entry.fileName === mdpFileName) {...
Hello. Thank you for the wonderful library! Is it possible to know how much of compression is completed (maybe only for the {compress: false} case) ? Some kind of 'progress'...
We have been using yazl and yauzl for over a year and we very much like its stability and pure-JS-ness. Yet, we face quite a lot use cases of editing...
Just had an issue with corrupted archives using `easy-zip`. It occurs that `easy-zip2` simply fixes it but I used the occasion to compare up-to-date solutions and I want to thank...
Would be great to have ability of tracking progress of packing. When we have a lot files, operation could keep going really long time. For example [tar-fs](https://github.com/mafintosh/tar-fs) has optional `map`...