Skip to content

Commit 6e088b8

Browse files
authored
1 parent bef4557 commit 6e088b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/azure-functions/functions-reference-node.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,14 +414,16 @@ The FUNCTIONS_WORKER_PROCESS_COUNT applies to each host that Functions creates w
414414

415415
## Node version
416416

417-
The following table shows the Node.js version used by each major version of the Functions runtime:
417+
Starting with version 2.x of the runtime, Azure Functions intends to support both Active and Maintenance long-term support (LTS) versions of Node.js.
418+
The following table shows current supported Node.js versions for each major version of the Functions runtime, by operating system:
418419

419-
| Functions version | Node.js version |
420-
|---|---|
421-
| 1.x | 6.11.2 (locked by the runtime) |
422-
| 2.x | _Active LTS_ and _Maintenance LTS_ Node.js versions (~10 recommended). Target the version in Azure by setting the WEBSITE_NODE_DEFAULT_VERSION [app setting](functions-how-to-use-azure-function-app-settings.md#settings) to `~10`.|
420+
| Functions version | Windows | Linux |
421+
|---|---| --- |
422+
| 1.x | 6.11.2 (locked by the runtime) | n/a |
423+
| 2.x | ~8<br/>~10 (recommended)<br/>~12 | ~8 (recommended)<br/>~10 |
424+
| 3.x | ~10<br/>~12 (recommended) | ~10<br/>~12 (recommended) |
423425

424-
You can see the current version that the runtime is using by checking the above app setting or by printing `process.version` from any function.
426+
You can see the current version that the runtime is using by checking the above app setting or by printing `process.version` from any function. Target the version in Azure by setting the WEBSITE_NODE_DEFAULT_VERSION [app setting](functions-how-to-use-azure-function-app-settings.md#settings) to a supported LTS version, such as `~10`.
425427

426428
## Dependency management
427429
In order to use community libraries in your JavaScript code, as is shown in the below example, you need to ensure that all dependencies are installed on your Function App in Azure.

0 commit comments

Comments
 (0)