diff --git a/en/4x/api.md b/en/4x/api.md index 542148ec8..90e1c12d3 100644 --- a/en/4x/api.md +++ b/en/4x/api.md @@ -9,6 +9,8 @@ redirect_from: "/4x/api.html"

4.x API

+ {% include note.html content="Express 4.0 requires Node.js 0.10 or higher." %} + {% include api/{{ page.lang }}/4x/express.md %} {% include api/{{ page.lang }}/4x/app.md %} {% include api/{{ page.lang }}/4x/req.md %} diff --git a/en/5x/api.md b/en/5x/api.md index b76b7eff3..529121c14 100644 --- a/en/5x/api.md +++ b/en/5x/api.md @@ -11,6 +11,8 @@ redirect_from: "/5x/api.html" {% include note.html content="This is early beta documentation that may be incomplete and is still under development." %} + {% include note.html content="Express 5.0 requires Node.js 18 or higher." %} + {% include api/{{ page.lang }}/5x/express.md %} {% include api/{{ page.lang }}/5x/app.md %} {% include api/{{ page.lang }}/5x/req.md %} diff --git a/en/starter/faq.md b/en/starter/faq.md index c7499a324..4cb750d58 100755 --- a/en/starter/faq.md +++ b/en/starter/faq.md @@ -90,4 +90,9 @@ If you have a specific file, use the `res.sendFile()` function. If you are serving many assets from a directory, use the `express.static()` middleware function. +## What version of Node.js does Express require? + +* [Express 4.x](/{{ page.lang }}/4x/api.html) requires Node.js 0.10 or higher. +* [Express 5.x](/{{ page.lang }}/5x/api.html) requires Node.js 18 or higher. + ### [Previous: More examples ](/{{ page.lang }}/starter/examples.html) diff --git a/en/starter/installing.md b/en/starter/installing.md index c1a859ca7..5346ab8b8 100755 --- a/en/starter/installing.md +++ b/en/starter/installing.md @@ -10,6 +10,9 @@ redirect_from: "/starter/installing.html" Assuming you've already installed [Node.js](https://nodejs.org/), create a directory to hold your application, and make that your working directory. +* [Express 4.x](/{{ page.lang }}/4x/api.html) requires Node.js 0.10 or higher. +* [Express 5.x](/{{ page.lang }}/5x/api.html) requires Node.js 18 or higher. + ```console $ mkdir myapp $ cd myapp