Skip to content

An node.js based file compression tool using huffman encoding

Notifications You must be signed in to change notification settings

Manav-404/compression-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Encoding Compression

A CLI based application to compress files. Compression ratio achieved ~20%

How to run the project

1. Install all dependencies

  npm install

2. Command for compressing file

  npx ts-node index.ts --compress <input_file> <output_file>
Parameter Path
input_file Absolute
output_file Absolute

3. Compressed file can be found under data directory

/data/compressed_file

About

An node.js based file compression tool using huffman encoding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published