@mborne/extract
v0.2.0
Published
Extract archives (7z, zip, bz2, gz,...) using system executables
Downloads
33
Readme
node-extract
Description
Extract archives (7z, zip, bz2, gz,...) using system executables
Usage
const extract = require('@mborne/extract');
await extract({
archivePath: '/path/to/archive.zip'
});
Options
| Name | Required? | Description | Default |
| ------------- | :-------: | ------------------------------- | :--------------: |
| archivePath
| YES | Archive path | NA |
| targetDir
| NO | Target directory for extraction | Parent directory |