nodejs/node
摘要
Node.js 是一个开源、跨平台的 JavaScript 运行时环境。本仓库包含该项目的源代码、文档、发布类型和贡献指南。
查看缓存全文
缓存时间: 2026/07/27 01:37
nodejs/node
来源:https://github.com/nodejs/node
Node.js
Node.js 是一个开源、跨平台的 JavaScript 运行时环境。如欲了解如何使用 Node.js,请参阅 [Node.js 网站][]。
Node.js 项目采用 开放治理模型。[OpenJS Foundation][] 为项目提供支持。贡献者应以协作精神推动项目向前发展。我们鼓励建设性地交换不同意见并达成妥协。TSC 保留对反复以阻碍、透支或以其他方式对他人产生负面影响的贡献者进行限制或封禁的权利。
本项目有 [行为准则][]。
目录
支持
需要帮助?请查阅 获取支持说明。
发布类型
- Current:处于积极开发中。Current 版本的代码位于其主版本号对应的分支(例如 v22.x (https://github.com/nodejs/node/tree/v22.x))。Node.js 每 6 个月发布一个主版本,允许引入不兼容的变更。发布时间为每年 4 月和 10 月。10 月发布的版本支持期为 8 个月。4 月发布的版本将在当年 10 月转为 LTS(见下文)。
- LTS:获得长期支持(LTS)的版本,注重稳定性和安全性。每个偶数主版本将成为 LTS 版本。LTS 版本获得 12 个月的活跃 LTS 支持和 18 个月的维护。LTS 版本系列具有按字母顺序排列的代号,始于 v4 Argon。除非特殊情况,否则不会引入不兼容的变更或功能添加。
- 每日构建版本:当有变更时,Current 分支的代码每 24 小时构建一次。请谨慎使用。
Current 和 LTS 版本遵循语义化版本控制 (https://semver.org)。发布团队的一名成员会签署每个 Current 和 LTS 版本。更多信息请参阅发布说明 (https://github.com/nodejs/Release#readme)。
下载
二进制文件、安装程序和源代码压缩包可在 获取。
Current 和 LTS 版本
latest (https://nodejs.org/download/release/latest/) 目录是当前 Latest Current 版本的别名。latest-codename 目录是 LTS 系列最新版本的别名。例如,latest-hydrogen (https://nodejs.org/download/release/latest-hydrogen/) 目录包含最新的 Hydrogen (Node.js 18) 版本。
每日构建版本
每个目录和文件名包含版本号(例如 v22.0.0),后跟 UTC 日期(例如 20240424 代表 2024 年 4 月 24 日)和发布 HEAD 的短提交 SHA(例如 ddd0a9e494)。例如,完整的目录名可能类似于 v22.0.0-nightly20240424ddd0a9e494。
API 文档
Latest Current 版本的文档位于 。版本特定的文档在每个发布目录的 docs 子目录中提供。版本特定的文档也可在 获取。
验证二进制文件
下载目录包含一个 SHASUMS256.txt.asc 文件,其中包含文件的 SHA 校验和以及发布者的 PGP 签名。您可以从 nodejs/release-keys 获取受信任的密钥环,例如使用 curl:
curl -fsLo "/path/to/nodejs-keyring.kbx" "https://github.com/nodejs/release-keys/raw/HEAD/gpg/pubring.kbx"
或者,您可以将发布者的密钥导入到您的默认密钥环中,请参阅 发布密钥 了解相关命令。然后,您可以验证本地下载的文件(如果您使用默认密钥环,请传递 --keyring="${GNUPGHOME:-~/.gnupg}/pubring.kbx"):
curl -fsO "https://nodejs.org/dist/${VERSION}/SHASUMS256.txt.asc" \
&& gpgv --keyring="/path/to/nodejs-keyring.kbx" --output SHASUMS256.txt < SHASUMS256.txt.asc \
&& shasum --check SHASUMS256.txt --ignore-missing
构建 Node.js
有关如何从源代码构建 Node.js 和支持的平台列表,请参阅 BUILDING.md。
安全
如欲报告 Node.js 中的安全漏洞,请参阅 SECURITY.md。
为 Node.js 做贡献
- [为项目做贡献][]
- [工作组][]
- [战略倡议][]
- [技术价值与优先级排序][]
当前项目团队成员
有关 Node.js 项目治理的信息,请参阅 GOVERNANCE.md。
TSC(技术指导委员会)
TSC 投票成员
- aduh95 (https://github.com/aduh95) - Antoine du Hamel <> (he/him)
- anonrig (https://github.com/anonrig) - Yagiz Nizipli <> (he/him)
- benjamingr (https://github.com/benjamingr) - Benjamin Gruenbaum <>
- BridgeAR (https://github.com/BridgeAR) - Ruben Bridgewater <> (he/him)
- gireeshpunathil (https://github.com/gireeshpunathil) - Gireesh Punathil <> (he/him)
- jasnell (https://github.com/jasnell) - James M Snell <> (he/him)
- joyeecheung (https://github.com/joyeecheung) - Joyee Cheung <> (she/her)
- legendecas (https://github.com/legendecas) - Chengzhong Wu <> (he/him)
- marco-ippolito (https://github.com/marco-ippolito) - Marco Ippolito <> (he/him)
- mcollina (https://github.com/mcollina) - Matteo Collina <> (he/him)
- panva (https://github.com/panva) - Filip Skokan <> (he/him)
- RafaelGSS (https://github.com/RafaelGSS) - Rafael Gonzaga <> (he/him)
- RaisinTen (https://github.com/RaisinTen) - Darshan Sen <> (he/him)
- richardlau (https://github.com/richardlau) - Richard Lau <>
- ronag (https://github.com/ronag) - Robert Nagy <>
- ruyadorno (https://github.com/ruyadorno) - Ruy Adorno <> (he/him)
- ShogunPanda (https://github.com/ShogunPanda) - Paolo Insogna <> (he/him)
- targos (https://github.com/targos) - Michaël Zasso <> (he/him)
- tniessen (https://github.com/tniessen) - Tobias Nießen <> (he/him)
TSC 常规成员
- BethGriggs (https://github.com/BethGriggs) - Beth Griggs <> (she/her)
- bnoordhuis (https://github.com/bnoordhuis) - Ben Noordhuis <>
- cjihrig (https://github.com/cjihrig) - Colin Ihrig <> (he/him)
- codebytere (https://github.com/codebytere) - Shelley Vohr <> (she/her)
- GeoffreyBooth (https://github.com/GeoffreyBooth) - Geoffrey Booth <> (he/him)
- MoLow (https://github.com/MoLow) - Moshe Atlow <> (he/him)
- Trott (https://github.com/Trott) - Rich Trott <> (he/him)
TSC 荣誉成员
- addaleax (https://github.com/addaleax) - Anna Henningsen <> (she/her)
- apapirovski (https://github.com/apapirovski) - Anatoli Papirovski <> (he/him)
- ChALkeR (https://github.com/ChALkeR) - Сковорода Никита Андреевич <> (he/him)
- chrisdickinson (https://github.com/chrisdickinson) - Chris Dickinson <>
- danbev (https://github.com/danbev) - Daniel Bevenius <> (he/him)
- danielleadams (https://github.com/danielleadams) - Danielle Adams <> (she/her)
- evanlucas (https://github.com/evanlucas) - Evan Lucas <> (he/him)
- fhinkel (https://github.com/fhinkel) - Franziska Hinkelmann <> (she/her)
- Fishrock123 (https://github.com/Fishrock123) - Jeremiah Senkpiel <> (he/they)
- gabrielschulhof (https://github.com/gabrielschulhof) - Gabriel Schulhof <>
- gibfahn (https://github.com/gibfahn) - Gibson Fahnestock <> (he/him)
- indutny (https://github.com/indutny) - Fedor Indutny <>
- isaacs (https://github.com/isaacs) - Isaac Z. Schlueter <>
- joshgav (https://github.com/joshgav) - Josh Gavant <>
- mhdawson (https://github.com/mhdawson) - Michael Dawson <> (he/him)
- mmarchini (https://github.com/mmarchini) - Mary Marchini <> (she/her)
- mscdex (https://github.com/mscdex) - Brian White <>
- MylesBorins (https://github.com/MylesBorins) - Myles Borins <> (he/him)
- nebrius (https://github.com/nebrius) - Bryan Hughes <>
- ofrobots (https://github.com/ofrobots) - Ali Ijaz Sheikh <> (he/him)
- orangemocha (https://github.com/orangemocha) - Alexis Campailla <>
- piscisaureus (https://github.com/piscisaureus) - Bert Belder <>
- rvagg (https://github.com/rvagg) - Rod Vagg <>
- sam-github (https://github.com/sam-github) - Sam Roberts <>
- shigeki (https://github.com/shigeki) - Shigeki Ohtsu <> (he/him)
- thefourtheye (https://github.com/thefourtheye) - Sakthipriyan Vairamani <> (he/him)
- TimothyGu (https://github.com/TimothyGu) - Tiancheng “Timothy” Gu <> (he/him)
- trevnorris (https://github.com/trevnorris) - Trevor Norris <>
协作者
- abmusse (https://github.com/abmusse) - Abdirahim Musse <>
- addaleax (https://github.com/addaleax) - Anna Henningsen <> (she/her)
- Aditi-1400 (https://github.com/Aditi-1400) - Aditi Singh <> (she/her)
- aduh95 (https://github.com/aduh95) - Antoine du Hamel <> (he/him) - 支持我 (https://github.com/sponsors/aduh95)
- anonrig (https://github.com/anonrig) - Yagiz Nizipli <> (he/him) - 支持我 (https://github.com/sponsors/anonrig)
- atlowChemi (https://github.com/atlowChemi) - Chemi Atlow <> (he/him)
- avivkeller (https://github.com/avivkeller) - Aviv Keller <> (he/him) - 支持我 (https://github.com/sponsors/avivkeller)
- Ayase-252 (https://github.com/Ayase-252) - Qingyu Deng <>
- bengl (https://github.com/bengl) - Bryan English <> (he/him)
- benjamingr (https://github.com/benjamingr) - Benjamin Gruenbaum <>
- BethGriggs (https://github.com/BethGriggs) - Beth Griggs <> (she/her)
- bnb (https://github.com/bnb) - Tierney Cyren <> (they/them)
- bnoordhuis (https://github.com/bnoordhuis) - Ben Noordhuis <>
- BridgeAR (https://github.com/BridgeAR) - Ruben Bridgewater <> (he/him)
- cclauss (https://github.com/cclauss) - Christian Clauss <> (he/him)
- ChALkeR (https://github.com/ChALkeR) - Сковорода Никита Андреевич <> (he/him)
- cjihrig (https://github.com/cjihrig) - Colin Ihrig <> (he/him)
- codebytere (https://github.com/codebytere) - Shelley Vohr <> (she/her)
- cola119 (https://github.com/cola119) - Kohei Ueno <> (he/him)
- daeyeon (https://github.com/daeyeon) - Daeyeon Jeong <> (he/him)
- dario-piotrowicz (https://github.com/dario-piotrowicz) - Dario Piotrowicz <> (he/him)
- deokjinkim (https://github.com/deokjinkim) - Deokjin Kim <> (he/him)
- ErickWendel (https://github.com/ErickWendel) - Erick Wendel <> (he/him)
- Ethan-Arrowood (https://github.com/Ethan-Arrowood) - Ethan Arrowood <> (he/him)
- fhinkel (https://github.com/fhinkel) - Franziska Hinkelmann <> (she/her)
- Flarna (https://github.com/Flarna) - Gerhard Stöbich <> (he/they)
- gabrielschulhof (https://github.com/gabrielschulhof) - Gabriel Schulhof <>
- geeksilva97 (https://github.com/geeksilva97) - Edy Silva <> (he/him)
- gengjiawen (https://github.com/gengjiawen) - Jiawen Geng <>
- GeoffreyBooth (https://github.com/GeoffreyBooth) - Geoffrey Booth <> (he/him)
- gireeshpunathil (https://github.com/gireeshpunathil) - Gireesh Punathil <> (he/him)
- gurgunday (https://github.com/gurgunday) - Gürgün Dayıoğlu <> (he/him)
- guybedford (https://github.com/guybedford) - Guy Bedford <> (he/him)
- H4ad (https://github.com/H4ad) - Vinícius Lourenço Claro Cardoso <> (he/him)
- HarshithaKP (https://github.com/HarshithaKP) - Harshitha K P <> (she/her)
- himself65 (https://github.com/himself65) - Zeyu “Alex” Yang <> (he/him)
- hybrist (https://github.com/hybrist) - Jan Martin <> (he/him)
- IlyasShabi (https://github.com/IlyasShabi) - Ilyas Shabi <> (he/him)
- islandryu (https://github.com/islandryu) - Ryuhei Shima <> (he/him)
- jakecastelli (https://github.com/jakecastelli) - Jake Yuesong Li <> (he/him)
- JakobJingleheimer (https://github.com/JakobJingleheimer) - Jacob Smith <> (he/him)
- jasnell (https://github.com/jasnell) - James M Snell <> (he/him)
- jazelly (https://github.com/jazelly) - Jason Zhang <> (he/him)
- joyeecheung (https://github.com/joyeecheung) - Joyee Cheung <> (she/her)
- juanarbol (https://github.com/juanarbol) - Juan José Arboleda <> (he/him)
- JungMinu (https://github.com/JungMinu) - Minwoo Jung <> (he/him)
- KhafraDev (https://github.com/KhafraDev) - Matthew Aitken <> (he/him)
- legendecas (https://github.com/legendecas) - Chengzhong Wu <> (he/him)
- lemire (https://github.com/lemire) - Daniel Lemire <>
- LiviaMedeiros (https://github.com/LiviaMedeiros) - LiviaMedeiros <>
- ljharb (https://github.com/ljharb) - Jordan Harband <>
- lpinca (https://github.com/lpinca) - Luigi Pinca <> (he/him)
- Lxxyx (https://github.com/Lxxyx) - Zijian Liu <> (he/him)
- marco-ippolito (https://github.com/marco-ippolito) - Marco Ippolito <> (he/him) - 支持我 (https://github.com/sponsors/marco-ippolito)
- marsonya (https://github.com/marsonya) - Akhil Marsonya <> (he/him)
- MattiasBuelens (https://github.com/MattiasBuelens) - Mattias Buelens <> (he/him)
- mcollina (https://github.com/mcollina) - Matteo Collina <> (he/him) - 支持我 (https://github.com/sponsors/mcollina)
- meixg (https://github.com/meixg) - Xuguang Mei <> (he/him)
- MikeMcC399 (https://github.com/MikeMcC399) - Mike McCready <[email protected]> (he/him)
- MoLow (https://github.com/MoLow) - Moshe Atlow <> (he/him)
- MrJithil (https://github.com/MrJithil) - Jithil P Ponnan <> (he/him)
- ovflowd (https://github.com/ovflowd) - Claudio Wunder <> (he/they)
- panva (https://github.com/panva) - Filip Skokan <> (he/him) - 支持我 (https://github.com/sponsors/panva)
- pimterry (https://github.com/pimterry) - Tim Perry <> (he/him)
- pmarchini (https://github.com/pmarchini) - Pietro Marchini <> (he/him)
- Qard (https://github.com/Qard) - Stephen Belanger <> (he/him)
- RafaelGSS (https://github.com/RafaelGSS) - Rafael Gonzaga <> (he/him) - 支持我 (https://github.com/sponsors/RafaelGSS)
- RaisinTen (https://github.com/RaisinTen) - Darshan Sen <> (he/him) - 支持我 (https://github.com/sponsors/RaisinTen)
- Renegade334 (https://github.com/Renegade334) - René <>
- richardlau (https://github.com/richardlau) - Richard Lau <>
- rluvaton (https://github.com/rluvaton) - Raz Luvaton <> (he/him)
- ronag (https://github.com/ronag) - Robert Nagy <>
- ruyadorno (https://github.com/ruyadorno) - Ruy Adorno <> (he/him)
- santigimeno (https://github.com/santigimeno) - Santiago Gimeno <>
- ShogunPanda (https://github.com/ShogunPanda) - Paolo Insogna <> (he/him)
- srl295 (https://github.com/srl295) - Steven R Loomis <>
- StefanStojanovic (https://github.com/StefanStojanovic) - Stefan Stojanovic <> (he/him)
- sxa (https://github.com/sxa) - Stewart X Addison <> (he/him)
- targos (https://github.com/targos) - Michaël Zasso <> (he/him)
- theanarkh (https://github.com/theanarkh) - theanarkh <> (he/him)
- tniessen (https://github.com/tniessen) - Tobias Nießen <> (he/him)
- trivikr (https://github.com/trivikr) - Trivikram Kamat <>
- Trott (https://github.com/Trott) - Rich Trott <> (he/him)
- UlisesGascon (https://github.com/UlisesGascon) - Ulises Gascón <> (he/him)
- vmoroz (https://github.com/vmoroz) - Vladimir Morozov <> (he/him)
- watilde (https://github.com/watilde) - Daijiro Wachi <> (he/him)
相似文章
openai/openai-node v6.31.0
OpenAI Node.js SDK v6.31.0 发布 —— 用于调用 OpenAI REST API 的 TypeScript/JavaScript 库,支持 Chat Completions 与 Responses API,并为云环境提供 Workload Identity 认证支持。
denoland/deno
Deno 是一个现代的 JavaScript、TypeScript 和 WebAssembly 运行时,具有安全默认设置,基于 V8、Rust 和 Tokio 构建,旨在成为 Node.js 的安全且对开发者友好的替代品。
openai/openai-node v6.33.0
OpenAI Node.js SDK v6.33.0 发布,提供 TypeScript/JavaScript 接口以访问 OpenAI API,支持新的 Responses API 以及跨 Kubernetes、Azure 和 GCP 的工作负载身份认证。
openai/openai-node v6.36.0
OpenAI 发布了 openai-node 库的 6.36.0 版本,该库提供对 OpenAI REST API 的 TypeScript 和 JavaScript 访问支持,并引入了用于安全云环境的工作负载身份认证功能。
openai/openai-node v6.37.0
本文宣布了 openai-node v6.37.0 的发布,这是 OpenAI API 官方 TypeScript 和 JavaScript SDK 的一次更新,包含 Responses API 的新示例以及工作负载身份认证功能。