js-7z

🏭 7zip functions in NodeJS 🏭

Usage no npm install needed!

<script type="module">
  import js7z from 'https://cdn.skypack.dev/js-7z';
</script>

README

Logo

Usage

Functions

Extract(file, out)

Extract zip file

Compress(file, folder)

Zip a folder

Extract(file, out)

Extract zip file

Param Type Description
file String File that we want to decompress
out String Folder where we want the file to be decompressed

Compress(file, folder)

Zip a folder

Param Type Description
file String File URL
folder String Folder you want to compress