- implementation of Burrows-Wheeler Transformation and Run Length Encoding.
- optimized BWT to run in linear time.
- optimized RLE by using 2 letters to denote a run.
- run either
node index.js enocde test.txt
ornode index.js decode test.txt
- all the compressed files are stored in output folder and uncompressed in input folder.
- to compress a file first place it in input folder.
- no external dependencies
- becomes slow after 32 MB (need to optimize I/O handling)
- fails in cases where there are large amount of numbers due to RLE