| 1 |
Source: node-express-static-gzip |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: |
| 6 |
Thomas Goirand <[email protected]>, |
| 7 |
Testsuite: autopkgtest-pkg-nodejs |
| 8 |
Build-Depends: |
| 9 |
debhelper-compat (= 13), |
| 10 |
dh-nodejs, |
| 11 |
dh-sequence-nodejs, |
| 12 |
openstack-pkg-tools, |
| 13 |
Standards-Version: 4.7.2 |
| 14 |
Homepage: https://github.com/tkoenig89/express-static-gzip |
| 15 |
Vcs-Git: https://salsa.debian.org/homeassistant-team/js/node-express-static-gzip.git |
| 16 |
Vcs-Browser: https://salsa.debian.org/homeassistant-team/js/node-express-static-gzip |
| 17 |
Rules-Requires-Root: no |
| 18 |
|
| 19 |
Package: node-express-static-gzip |
| 20 |
Architecture: all |
| 21 |
Depends: |
| 22 |
node-mime-types, |
| 23 |
node-parseurl, |
| 24 |
node-serve-static, |
| 25 |
${misc:Depends}, |
| 26 |
Description: serve pre-compressed static assets in Express efficiently |
| 27 |
This library extends Express.js by providing middleware to serve |
| 28 |
pre-compressed (gzip and Brotli) static files transparently. It detects |
| 29 |
client-supported compression formats and delivers the appropriate asset, |
| 30 |
falling back to uncompressed files if necessary. |
| 31 |
. |
| 32 |
Key features: |
| 33 |
- Automatically serve .gz and .br pre-compressed files alongside originals |
| 34 |
- Honor client Accept-Encoding header for optimal compression selection |
| 35 |
- Fallback support to original resources if compressed versions are missing |
| 36 |
- Easy integration with Express apps using familiar middleware pattern |
| 37 |
- Lightweight and dependency-free |
| 38 |
. |
| 39 |
Ideal for performance-conscious web servers and apps utilizing static |
| 40 |
site generation where assets are compressed ahead of time. |