Node.js : Specify files to unzip with zlib + tar

前端 未结 2 1121
粉色の甜心
粉色の甜心 2020-12-30 09:40

An installation process is downloading a .tar.gz archive, then extract the files to a destination directory. However, not all the files in the archive are requi

2条回答
  •  余生分开走
    2020-12-30 10:38

    You can take a look at this post to find a good solution.

    By the way, in the zlib-documentation you'll see that you can specify a "buffer" calling .unzip().

提交回复
热议问题