Zip archives in node.js

前端 未结 10 1980
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 05:09

I want to create a zip archive and unzip it in node.js.

I can\'t find any node implementation.

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-01 05:45

    You can use the edge.js module that supports interop between node.js and .NET in-process, and then call into .NET framework's ZipFile class which allows you to manipulate ZIP archives. Here is a complete example of creating a ZIP package using edge.js. Also check out the unzip example using edge.js.

提交回复
热议问题