Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.01 KB

@SeptBlast/congenial-waddle

congenial-waddle is brotli and gzip compression utils library for nodejs

Helps in Compressing the whole project in a go without any hassle

To use the application you need to pass the folder path where the files are stored as an argument to the application.

Usage

import compress from "@imdevesh/congenial-waddle";

// Pass the folder path where the files are stored for compression
var folderPath = "./html";

compress.getCompressed(folderPath);

After the compression is done, the compressed files are stored in respective folders, name ./br/* and ./gzip/*.


*Note: There is no limitation on type of files, you can use this tool for .html, .css, .js, .png, .jpg, .jpeg, .pdf and many more.

License

MIT License

Author

Imdevesh

Package Url : @SeptBlast/congenial-waddle