7zip-binaries 中文文档教程
Introduction
将 7-zip 二进制文件包含到您的项目中的模块。 关键区别在于二进制文件。 大多数类似的软件包使用 7za 二进制文件,它是 7-zip 的轻量级版本。 此软件包中包含用于 Linux 和 Mac 的完整 7zz 二进制文件,以保证支持以下格式:
Operations | Types |
---|---|
pack/unpack | 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM |
unpack | AR, ARJ, Base64, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z |
尽管此软件包包含 Windows 二进制文件,但目标平台是 Mac 和 Linux。 Windows 的仍然是剪切的 7za 二进制文件。
Installation
# cd /your/project/directory
# npm install 7zip-binaries --save
Usage examples
继续使用示例的单独存储库:https://github.com/Alex-Kondakov/7zip-examples
Introduction
Module to include 7-zip binaries to your project. The key difference are binaries files. Most similar packages use 7za binary which is cut light-weight version of 7-zip. Full 7zz binary included to this package for Linux and Mac to guarantee support of the following formats:
Operations | Types |
---|---|
pack/unpack | 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM |
unpack | AR, ARJ, Base64, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z |
Despite this package contain Windows binaries, target platforms are Mac and Linux. Windows ones are still cut 7za binaries.
Installation
# cd /your/project/directory
# npm install 7zip-binaries --save
Usage examples
Proceed to separate repository for examples: https://github.com/Alex-Kondakov/7zip-examples