lws-compress

3.1.0 • Public • Published

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI js-standard-style

lws-compress

Response compression middleware for lws. For usage instructions, see here.

Adds the following options to lws.

--compress, -z                 Serve gzip-compressed resources, where applicable.
--compress.threshold number    Minimum response size in bytes to apply compression. Defaults to 1024.

© 2016-21 Lloyd Brookes <75pound@gmail.com>.

Readme

Keywords

Package Sidebar

Install

npm i lws-compress

Weekly Downloads

46,353

Version

3.1.0

License

MIT

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • 75lb