Skip to content

adityameharia/HuffmanCompression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffman

A cli tool written in nodejs which uses cpp binaries to compress files usig huffman algorithm. Currently supports Windows,Mac OS and linux.

oclif Version Downloads/week License

Usage

$ 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
...

Commands

huffman-compressor compress PATH

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

huffman-compressor decompress PATH

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

huffman-compressor help [COMMAND]

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

About

Cli for compressing files using huffman algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •