1.1.1 • Published 7 years ago

weh-gzip v1.1.1

Weekly downloads
8
License
Unlicense
Repository
github
Last release
7 years ago

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

1.1.1

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago