compression@1.8.1
// Node.js compression middleware
$ npm install compression
downloads/wk
35,207,744
license
MIT
version
1.8.1
published
Jul 17, 2025
What is compression?
Compression is Node.js middleware that automatically compresses HTTP response bodies using gzip, deflate, or brotli algorithms. Use it to reduce the size of data sent to clients, which decreases bandwidth usage and improves page load times. It integrates directly with Express and other Node.js HTTP frameworks.
Links
Keywords
Dependencies (7)
Maintainers
dougwilson, ulisesgascon, wesleytodd