Skip to content

Commit c731e60

Browse files
authored
Clarifications based on Marie's comments
1 parent 6e088b8 commit c731e60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

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

415415
## Node version
416416

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.
418417
The following table shows current supported Node.js versions for each major version of the Functions runtime, by operating system:
419418

420-
| Functions version | Windows | Linux |
419+
| Functions version | Node version (Windows) | Node Version (Linux) |
421420
|---|---| --- |
422421
| 1.x | 6.11.2 (locked by the runtime) | n/a |
423-
| 2.x | ~8<br/>~10 (recommended)<br/>~12 | ~8 (recommended)<br/>~10 |
422+
| 2.x | ~8<br/>~10 (recommended)<br/>~12<sup>*</sup> | ~8 (recommended)<br/>~10 |
424423
| 3.x | ~10<br/>~12 (recommended) | ~10<br/>~12 (recommended) |
425424

425+
<sup>*</sup>Node ~12 is currently allowed on version 2.x of the Functions runtime. However, for best performance, we recommend using Functions runtime version 3.x with Node ~12.
426+
426427
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`.
427428

428429
## Dependency management

0 commit comments

Comments
 (0)