https://github.com/steezcram/sevenzip
7z native wrapper for NodeJS
https://github.com/steezcram/sevenzip
7zip archive extract javascript js native node node-js node-module nodejs sevenzip wrapper zip
Last synced: about 1 year ago
JSON representation
7z native wrapper for NodeJS
- Host: GitHub
- URL: https://github.com/steezcram/sevenzip
- Owner: SteezCram
- License: mit
- Created: 2021-06-15T17:17:16.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-16T23:53:12.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T04:07:58.921Z (about 1 year ago)
- Topics: 7zip, archive, extract, javascript, js, native, node, node-js, node-module, nodejs, sevenzip, wrapper, zip
- Language: JavaScript
- Homepage:
- Size: 17.6 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sevenzip
`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.
## 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 platform support for **Windows**, **Linux** and **Mac** is done by using 7za. It's a command line version of 7z published by the author.
## Installation
```
npm install @steezcram/sevenzip --save
```
## Usage
Simply include the module with this code:
```js
const sevenzip = require('@steezcram/sevenzip');
```
## Documentation
### Methods
- [compress](https://github.com/SteezCram/sevenzip/blob/main/docs/compress.md)
- [extract](https://github.com/SteezCram/sevenzip/blob/main/docs/extract.md)
### Objects
- [CompressionLevel](https://github.com/SteezCram/sevenzip/blob/main/docs/CompressionLevel.md)