sevenzip is a wrapper around
7za.exe for Windows, Linux and Mac. The goal is to provide a unique and an easy way to compress and extract multiple archives format.
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.
The platform support for Windows, Linux and Mac is done by using 7za. It's a command line version of 7z published by the author.
npm install @steezcram/sevenzip --save
Simply include the module with this code:
const sevenzip = require('@steezcram/sevenzip');