熱門: 資料更新於2026年10月27日

軟體分類

網路軟體1,356
通訊社群321
影音軟體898
繪圖與影像539
辦公軟體1,124
開發工具3,134
AI工具529
安全與隱私385
系統工具3,114
遊戲523
教育與科學239
網路與IT284

Node.js 22 22.8.0下載

Run JavaScript Everywhere

這是舊版本,目前最新版本為22.23.4。 Node.js 22 22.23.4 · 發行日期:

安裝檔 22.8.0

架構類型安裝範圍檔案大小下載SHA256
64位元 MSI 所有使用者 — nodejs.org VirusTotal
ARM64 MSI 所有使用者 — nodejs.org VirusTotal
32位元 MSI 所有使用者 — nodejs.org VirusTotal

下載連結與SHA256取自Windows套件管理員(winget)的社群資訊清單。執行前請先核對下載檔案的雜湊值。

更新紀錄

New JS API for compile cache
This release adds a new API module.enableCompileCache() that can be used to enable on-disk code caching of all modules loaded after this API is called.
Previously this could only be enabled by the NODE_COMPILE_CACHE environment variable, so it could only set by end-users.
This API allows tooling and library authors to enable caching of their own code.
This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages, but have better performance and supports ESM.
Thanks to Joyee Cheung for working on this.

New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of vm.createContext() and friends that creates a context without contextifying its global object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context (impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they don't need the interceptor behavior.
Thanks to Joyee Cheung for working on this.

Support to coverage thresholds
Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
To use this feature, you need to enable the --experimental-test-coverage flag.
You can set thresholds for the following types of coverage:
- Branch coverage: Use --test-coverage-branches=<threshold>
- Function coverage: Use --test-coverage-functions=<threshold>
- Line coverage: Use --test-coverage-lines=<threshold>
<threshold> should be an integer between 0 and 100. If an invalid value is provided, a TypeError will be thrown.
If the code coverage fails to meet the specified thresholds for any category, the process will exit with code 1.
For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:
$ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js
Thanks Aviv Keller for working on this.

Other Notable Changes
- [1f2cc2fa47] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413
- [1e01bdc0d0] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #54264
- [97fa075c2e] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927
- [858b583c88] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927

https://github.com/nodejs/node/releases/tag/v22.8.0

IDE與程式碼編輯器熱門排行

查看全部
  1. OpenCodeIDE與程式碼編輯器 · OpenCode
  2. RStudioIDE與程式碼編輯器 · Posit Software
  3. Node.js (LTS)IDE與程式碼編輯器 · Node.js Foundation
  4. Apache NetBeansIDE與程式碼編輯器 · Apache NetBeans
  5. VSCodiumIDE與程式碼編輯器 · VSCodium
  6. HaxeIDE與程式碼編輯器 · Haxe Foundation
  7. ThonnyIDE與程式碼編輯器 · Aivar Annamaa
  8. GDevelopIDE與程式碼編輯器 · GDevelop Team
  9. mkcertIDE與程式碼編輯器 · FiloSottile
  10. ProcessingIDE與程式碼編輯器 · Processing Foundation

Node.js Foundation的其他軟體

查看全部
  • Node.js (LTS)IDE與程式碼編輯器 · Node.js Foundation
  • Node.jsIDE與程式碼編輯器 · Node.js Foundation
  • Node.js 14IDE與程式碼編輯器 · Node.js Foundation
  • Node.js 16IDE與程式碼編輯器 · Node.js Foundation
  • Node.js 18IDE與程式碼編輯器 · Node.js Foundation
  • Node.js 20IDE與程式碼編輯器 · Node.js Foundation

標籤

分享