weh-gzip

1.1.1 • Public • Published

weh-gzip

a weh plugin that makes gzip versions of every file that isn't already a gzip file

usage

npm install weh-gzip
weh(async site => {
    site.use(require('weh-gzip'));
    return site
})

options

most likely the only option you'll care about is level. 1 is fastest, 9 is most compressed

site.use(require('weh-gzip'), { level: 9 });

other available options are listed in pako's documentation, refer to it for more info

Readme

Keywords

Package Sidebar

Install

npm i weh-gzip

Weekly Downloads

0

Version

1.1.1

License

Unlicense

Last publish

Collaborators

  • codl