- 建议只使用 LTS 版本
- 因为很多使用 gyp 的项目不会对非 lts 有支持
- lts 版本周期长
- nodejs release
- 发布周期
- 每 6 个月一个大版本
- 偶数版本为 LTS - 支持 30 个月
- 参考
Node v18 LTS
Node v16 LTS
- V8 9.0
- npm v7
- Apple M1
- 稳定
- AbortController
- Source Maps v3
- 实验阶段
Node v14 LTS
- v8 版本 v8.1
- Optional Chaining
- Nullish Coalescing
- Intl.DisplayNames
- Intl.DateTimeFormat
- esm 正常使用 - 不再会有 wanring
- Diagnostic Reporting 稳定
- 实验特性
- Async Hooks API - async 本地存储
- WASI - Web Assembly System Interface
- Node.js 14 ChangeLog
Node v12 LTS
- V8 7.4
- JIT-less V8
- WebAssembly Threads/Atomics
- ES6 Module
- Private Class Fields
- TLS 1.3
- Top-Level Await -
--experimental-top-level-await
- API