FAst ARchiver for Node.js
Why faar?
Because current packages for archive/unarchive (archiver, Decompress, tar-stream/tar-fs, etc.) are too slow. (See performance comparison)
They are slow not because the code quality, but due to Node.js limitations on usage of multi-core and file system.
The easiest way to fix that is just use full-fledged shell tools such as
tar
, pigz
, lz4
... That's what this package do.
Install
npm install faar
Usage
var fa = Promise
Configuration
var fa = // register new archive formatfafa// prefer lzo, if not available fallback to gzipfa
Built-in Configurations
Archive Tools
gzip, pigz, zip, 7z, bzip2, xz, lzop, lz4
Default Preference
lz4, pigz, gzip, zip
Performance Comparison
TBD