From 3c9875da4eb7b01c57ed8a335fed707a6151ed4e Mon Sep 17 00:00:00 2001 From: Vansh Sharma Date: Sat, 4 Apr 2026 21:46:37 +0530 Subject: [PATCH] docs: update outdated Brotli note and fix npm install docs URL - Updated the Brotli support note from v11.7.0/v10.16.0 to reflect that Brotli is available in all currently supported Node.js LTS versions (v18+) - Fixed outdated npm install docs URL from /getting-started/ to /downloading-and-installing-packages-locally --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df1bd789..1a1a6ab7 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,13 @@ The following compression codings are supported: - gzip - br (brotli) -**Note** Brotli is supported only since Node.js versions v11.7.0 and v10.16.0. +**Note** Brotli is available in all currently supported Node.js LTS versions (v18+). ## Install This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/). Installation is done using the -[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): +[`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally): ```bash $ npm install compression @@ -308,4 +308,4 @@ See the [Contributing Guide](https://github.com/expressjs/express/blob/master/Co [ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/compression/badge [ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/compression [funding-url]: https://opencollective.com/express -[funding-image]: https://badgen.net/badge/icon/sponsor/pink?icon=github&label=Open%20Collective \ No newline at end of file +[funding-image]: https://badgen.net/badge/icon/sponsor/pink?icon=github&label=Open%20Collective