|
I have a usecase where I need to download and extract a .tgz file. I looked into a few different npm packages that does "untaring". But they all depend on zlib, which txiki doesn't have (correct me if I'm wrong). Is there currently any way to extract .tgz files? What's the best way forward here? Ultimately this is going to be a stand-alone binary. So I need a user-land solution that I can just |
Answered by
saghul
Jul 17, 2024
Replies: 1 comment 1 reply
|
The compression streams use a JS implementation of gz but it's not directly exposed, I guess you'd need to pipe the stream and untar on the other end. I'd like txiki to ship with bindings to miniz for fast (de)compression and expose it as an API, but no ETA yet 😅 |
1 reply
Answer selected by
Tobbe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The compression streams use a JS implementation of gz but it's not directly exposed, I guess you'd need to pipe the stream and untar on the other end.
I'd like txiki to ship with bindings to miniz for fast (de)compression and expose it as an API, but no ETA yet 😅