@imdevesh/congenial-waddle

1.2.2 • Public • Published

@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


Readme

Keywords

Package Sidebar

Install

npm i @imdevesh/congenial-waddle

Weekly Downloads

0

Version

1.2.2

License

MIT

Unpacked Size

7.51 kB

Total Files

8

Last publish

Collaborators

  • imdevesh