@warren-bank/extract-zip
v2.0.0
Published
An extremely lightweight cross-platform command-line utility to extract a zip file into a target directory.
Downloads
10
Maintainers
Readme
extract-zip
An extremely lightweight cross-platform command-line utility to extract a zip file into a target directory.
More specifically, this project is a thin wrapper that provides a minimal command-line interface to a slightly modified fork of the adm-zip library.
Installation
npm install --global "@warren-bank/extract-zip"Usage
extract-zip "/path/to/file.zip" ["/path/to/target/directory"] ["/path/to/directory/in/zip/to/extract"]["/path/to/target/directory"]- If not specified, the target directory will default to the current working directory.
["/path/to/directory/in/zip/to/extract"]- If not specified, the root directory in the zip will be recursively extracted.
- If the path to a directory within the zip is specified, then only this directory will be recursively extracted.
Use Case
- my intended purpose for this utility is its usage in
npmscripts - do with it as you like…
Credits
- adm-zip was written by Another-D-Mention Software
Legal
- copyright: Another-D-Mention Software
- license: MIT
