J
J
John2019-11-05 15:37:39
Node.js
John, 2019-11-05 15:37:39

How to unpack a folder from tgz (tar.gz) in node js?

There is a file loaded on the server file.tar.gz.
It contains a folder with files and subfolders.
How to unpack all contents using zlib and tar?
With zlib, in principle, everything is clear - zlib.Unzip(), but I did not find a normal document on tar.
Can anyone suggest how to implement this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question