thejoshwolfe / yauzl

yet another unzip library for node
MIT License
736 stars 80 forks source link

Unzipping nested folders from archive #140

Closed konradgodel closed 9 months ago

konradgodel commented 3 years ago

I made a stackoverflow post here to describe the situation, but thought it would be best to share here to get an answer.

TLDR is, I need to unzip archives while keeping the subfolders, is that possible with yauzl?

thejoshwolfe commented 9 months ago

looks like you got an answer. The short answer to your question is: yes that's possible. yauzl doesn't extract anything to disk; that's up to you to do, so preserving subfolder structure is definitely within your power to accomplish.