101arrowz / fflate

High performance (de)compression in an 8kB package
https://101arrowz.github.io/fflate
MIT License
2.27k stars 79 forks source link

feat: add unzip options to filter files #67

Closed manucorporat closed 3 years ago

101arrowz commented 3 years ago

Looks great! I'll test this a bit locally before merging.

101arrowz commented 3 years ago

Sorry I haven't gotten a chance to get this functionality integrated yet; I'm not yet fully sold on the API, but I've been busy with some other projects that prevent me from testing this PR extensively. I'll make some changes and merge as soon as I find time.

101arrowz commented 3 years ago

This has landed in v0.7.1. Check NPM and the updated docs for unzipSync and unzip. Sorry I couldn't merge this directly; there were a few changes I had to make for it to work in the asynchronous version as well.