thejoshwolfe / yauzl

yet another unzip library for node
MIT License
681 stars 77 forks source link

Unzipping nested folders from archive #140

Closed konradgodel closed 4 months ago

konradgodel commented 2 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 4 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.