A cli tool written in nodejs which uses cpp binaries to compress files usig huffman algorithm. Currently supports Windows,Mac OS and linux.
$ npm install -g huffman-compressor
$ huffman-compressor COMMAND
running command...
$ huffman-compressor (-v|--version|version)
huffman-compressor/0.1.0 linux-x64 node-v14.15.4
$ huffman-compressor --help [COMMAND]
USAGE
$ huffman-compressor COMMAND
...
huffman-compressor compress PATH
huffman-compressor decompress PATH
huffman-compressor help [COMMAND]
Compress compresses the file using huffman algorithm
USAGE
$ huffman-compressor compress PATH
ARGUMENTS
PATH path to input file with respect to the current working directory
OPTIONS
-o, --name=name name of output file
See code: src/commands/compress.js
Decompress decompresses the file using huffman algorithm
USAGE
$ huffman-compressor decompress PATH
ARGUMENTS
PATH path to input file with respect to the current working directory
OPTIONS
-o, --name=name name of output file
See code: src/commands/decompress.js
display help for huffman-compressor
USAGE
$ huffman-compressor help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help