nodejs / node

Node.js

Node.js is an open-source, cross-platform JavaScript runtime environment. For information on using Node.js, see the Node.js website. The Node.js project uses an open governance model. The OpenJS Foundation provides support for the project. Contributors are expected to act in a collaborative manner to move the project forward. We encourage the constructive exchange of contrary opinions and compromise. The TSC reserves the right to limit or block contributors who repeatedly act in ways that discourage, exhaust, or otherwise negatively affect other participants. This project has a Code of Conduct.

Node.js 是一个开源、跨平台的 JavaScript 运行时环境。有关使用 Node.js 的信息,请参阅 Node.js 官网。Node.js 项目采用开放治理模式,并由 OpenJS 基金会提供支持。我们期望贡献者以协作的方式推动项目发展。我们鼓励建设性地交流不同意见并达成妥协。技术指导委员会(TSC)保留限制或封禁那些反复表现出令其他参与者感到沮丧、疲惫或产生负面影响行为的贡献者的权利。本项目设有行为准则。


Release types

Current: Under active development. Code for the Current release is in the branch for its major version number (for example, v22.x). Node.js releases a new major version every 6 months, allowing for breaking changes. This happens in April and October every year. Releases appearing each October have a support life of 8 months. Releases appearing each April convert to LTS (see below) each October.

发布类型

Current(当前版本): 处于活跃开发阶段。当前版本的代码位于其主版本号的分支中(例如 v22.x)。Node.js 每 6 个月发布一个新主版本,允许进行重大变更(Breaking Changes)。发布时间为每年的 4 月和 10 月。每年 10 月发布的版本支持周期为 8 个月;每年 4 月发布的版本会在次年 10 月转为 LTS(长期支持)版本(见下文)。

LTS: Releases that receive Long Term Support, with a focus on stability and security. Every even-numbered major version will become an LTS release. LTS releases receive 12 months of Active LTS support and a further 18 months of Maintenance. LTS release lines have alphabetically-ordered code names, beginning with v4 Argon. There are no breaking changes or feature additions, except in some special circumstances.

LTS(长期支持版本): 获得长期支持的版本,侧重于稳定性和安全性。每个偶数主版本都将成为 LTS 版本。LTS 版本享有 12 个月的活跃支持期,随后是 18 个月的维护期。LTS 发布系列拥有按字母顺序排列的代号,从 v4 Argon 开始。除特殊情况外,LTS 版本不会包含重大变更或新功能添加。

Nightly: Code from the Current branch built every 24-hours when there are changes. Use with caution.

Nightly(每日构建版): 当 Current 分支有代码变更时,每 24 小时构建一次。请谨慎使用。


Download

Binaries, installers, and source tarballs are available at https://nodejs.org/en/download/.

下载

二进制文件、安装程序和源代码压缩包可在 https://nodejs.org/en/download/ 获取。


API documentation

Documentation for the latest Current release is at https://nodejs.org/api/. Version-specific documentation is available in each release directory in the docs subdirectory. Version-specific documentation is also at https://nodejs.org/download/docs/.

API 文档

最新 Current 版本的文档位于 https://nodejs.org/api/。特定版本的文档可在每个发布目录的 docs 子目录中找到。特定版本的文档也可在 https://nodejs.org/download/docs/ 查看。


Verifying binaries

Download directories contain a SHASUMS256.txt.asc file with SHA checksums for the files and the releaser PGP signature. You can get a trusted keyring from nodejs/release-keys.

验证二进制文件

下载目录中包含一个 SHASUMS256.txt.asc 文件,其中包含文件的 SHA 校验和以及发布者的 PGP 签名。你可以从 nodejs/release-keys 获取受信任的密钥环。


Security

For information on reporting security vulnerabilities in Node.js, see SECURITY.md.

安全性

有关报告 Node.js 安全漏洞的信息,请参阅 SECURITY.md。


TSC (Technical Steering Committee)

For information about the governance of the Node.js project, see GOVERNANCE.md.

TSC(技术指导委员会)

有关 Node.js 项目治理的信息,请参阅 GOVERNANCE.md。