sevenzip-node

7-Zip native wrapper around 7z.dll and 7zz

Usage no npm install needed!

<script type="module">
  import sevenzipNode from 'https://cdn.skypack.dev/sevenzip-node';
</script>

README

sevenzip-node

sevenzip-node is a wrapper around 7z.dll or 7za.dll for Windows and 7zz for Linux and Mac. The goal is to provide a unique and an easy way to compress and extract multiple archives format.

Motivation

I cannot find any NPM module that can compress in LZMA easily. They usally bind the command line without any modification to understand it better.

Dependencies

The native module is build by using bit7z to wrap the DLL. The native module is only available for Windows since bit7z is only available for it..

The platform support for Linux and Mac is done by using 7zz. It's a command line version of 7z published by the author.

Installation

npm install sevenzip-node

Usage

Simply include the module with this code:

const sevenZip = require('sevenzip-node');

Documentation

Methods

Objects