Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Antoine du Hamel 854d23b0d6
2024-12-19, Version 23.5.0 (Current)
Notable changes:

crypto:
  * graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable (Filip Skokan) https://github.com/nodejs/node/pull/56142
dgram:
  * (SEMVER-MINOR) support blocklist in udp (theanarkh) https://github.com/nodejs/node/pull/56087
doc:
  * stabilize util.styleText (Rafael Gonzaga) https://github.com/nodejs/node/pull/56265
module:
  * (SEMVER-MINOR) add prefix-only modules to `module.builtinModules` (Jordan Harband) https://github.com/nodejs/node/pull/56185
  * (SEMVER-MINOR) only emit require(esm) warning under --trace-require-module (Joyee Cheung) https://github.com/nodejs/node/pull/56194
  * (SEMVER-MINOR) use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) https://github.com/nodejs/node/pull/55698
  * (SEMVER-MINOR) implement module.registerHooks() (Joyee Cheung) https://github.com/nodejs/node/pull/55698
report:
  * (SEMVER-MINOR) fix typos in report keys and bump the version (Yuan-Ming Hsu) https://github.com/nodejs/node/pull/56068
sqlite:
  * (SEMVER-MINOR) aggregate constants in a single property (Edigleysson Silva (Edy)) https://github.com/nodejs/node/pull/56213
src,lib:
  * (SEMVER-MINOR) stabilize permission model (Rafael Gonzaga) https://github.com/nodejs/node/pull/56201

PR-URL: https://github.com/nodejs/node/pull/56310
2024-12-19 19:51:48 +01:00
.configurations build,win: add winget config to set up env 2024-09-30 15:17:20 +00:00
.devcontainer
.github tools: add REPLACEME check to workflow 2024-12-17 10:03:09 +00:00
android-patches
benchmark src,lib: stabilize permission model 2024-12-12 12:11:58 +00:00
deps deps: update nghttp3 to 1.6.0 2024-12-17 13:08:00 +00:00
doc 2024-12-19, Version 23.5.0 (Current) 2024-12-19 19:51:48 +01:00
lib Revert "events: add hasEventListener util for validate" 2024-12-19 18:16:48 +01:00
src sqlite: aggregate constants in a single property 2024-12-17 17:36:58 +00:00
test test: add test case for listeners 2024-12-19 18:16:49 +01:00
tools build: build v8 with -fvisibility=hidden on macOS 2024-12-19 03:24:51 +00:00
typings sqlite: aggregate constants in a single property 2024-12-17 17:36:58 +00:00
.clang-format
.cpplint src: modernize likely/unlikely hints 2024-09-30 18:04:16 +00:00
.editorconfig
.gitattributes
.gitignore build: stop pre-compiling `lint-md` 2024-11-01 23:45:02 +00:00
.gitpod.yml
.mailmap meta: add mailmap entry for abmusse 2024-09-30 22:51:34 +00:00
.nycrc build: fix not valid json in coverage 2024-09-30 20:27:55 +00:00
.yamllint.yaml
BSDmakefile
BUILD.gn
BUILDING.md doc: fix winget config path 2024-12-13 20:16:55 +00:00
CHANGELOG.md 2024-12-19, Version 23.5.0 (Current) 2024-12-19 19:51:48 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
GOVERNANCE.md
LICENSE doc: run license-builder 2024-11-11 15:45:43 +00:00
Makefile build: set DESTCPU correctly for 'make binary' on loongarch64 2024-12-18 09:42:47 +00:00
README.md meta: move MoLow to TSC regular member 2024-12-18 22:30:00 +00:00
SECURITY.md doc: update blog link to /vulnerability 2024-12-11 17:04:36 +00:00
android-configure
android_configure.py
codecov.yml
common.gypi deps: define V8_PRESERVE_MOST as no-op on Windows 2024-12-16 10:11:22 +00:00
configure
configure.py v8,tools: expose experimental wasm revectorize feature 2024-12-08 00:24:47 +01:00
eslint.config.mjs tools: enable linter for `tools/icu/**` 2024-12-09 20:51:48 +00:00
glossary.md
node.gni build: use variable for simdutf path 2024-12-11 15:35:48 +00:00
node.gyp sqlite: support `db.loadExtension` 2024-12-11 08:50:24 -08:00
node.gypi src,build: add no user defined deduction guides of CTAD check 2024-12-06 09:44:11 +00:00
onboarding.md doc: edit onboarding guide to clarify when mailmap addition is needed 2024-10-11 13:30:32 +00:00
pyproject.toml
suppressions.supp
tsconfig.json
unofficial.gni build: use variable for simdutf path 2024-12-11 15:35:48 +00:00
vcbuild.bat Revert "build: avoid compiling with VS v17.12" 2024-12-07 22:31:45 +00:00

README.md

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.

Table of contents

Support

Looking for help? Check out the instructions for getting support.

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.
  • 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.
  • Nightly: Code from the Current branch built every 24-hours when there are changes. Use with caution.

Current and LTS releases follow semantic versioning. A member of the Release Team signs each Current and LTS release. For more information, see the Release README.

Download

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

Current and LTS releases

https://nodejs.org/download/release/

The latest directory is an alias for the latest Current release. The latest-codename directory is an alias for the latest release from an LTS line. For example, the latest-hydrogen directory contains the latest Hydrogen (Node.js 18) release.

Nightly releases

https://nodejs.org/download/nightly/

Each directory and filename includes the version (e.g., v22.0.0), followed by the UTC date (e.g., 20240424 for April 24, 2024), and the short commit SHA of the HEAD of the release (e.g., ddd0a9e494). For instance, a full directory name might look like v22.0.0-nightly20240424ddd0a9e494.

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/.

Verifying binaries

Download directories contain a SHASUMS256.txt file with SHA checksums for the files.

To download SHASUMS256.txt using curl:

curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt

To check that downloaded files match the checksum, use sha256sum:

sha256sum -c SHASUMS256.txt --ignore-missing

For Current and LTS, the GPG detached signature of SHASUMS256.txt is in SHASUMS256.txt.sig. You can use it with gpg to verify the integrity of SHASUMS256.txt. You will first need to import the GPG keys of individuals authorized to create releases.

See Release keys for commands to import active release keys.

Next, download the SHASUMS256.txt.sig for the release:

curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt.sig

Then use gpg --verify SHASUMS256.txt.sig SHASUMS256.txt to verify the file's signature.

Building Node.js

See BUILDING.md for instructions on how to build Node.js from source and a list of supported platforms.

Security

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

Contributing to Node.js

Current project team members

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

TSC (Technical Steering Committee)

TSC voting members

TSC regular members

TSC emeriti members

TSC emeriti members

Collaborators

Emeriti

Collaborator emeriti

Collaborators follow the Collaborator Guide in maintaining the Node.js project.

Triagers

Triagers follow the Triage Guide when responding to new issues.

Release keys

Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):

To import the full set of trusted release keys (including subkeys possibly used to sign releases):

gpg --keyserver hkps://keys.openpgp.org --recv-keys C0D6248439F1D5604AAFFB4021D900FFDB233756 # Antoine du Hamel
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 # Juan José Arboleda
gpg --keyserver hkps://keys.openpgp.org --recv-keys CC68F5A3106FF448322E48ED27F5E38D5B0A215F # Marco Ippolito
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 # Michaël Zasso
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 # Rafael Gonzaga
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C # Richard Lau
gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A # Ruy Adorno
gpg --keyserver hkps://keys.openpgp.org --recv-keys A363A499291CBBC940DD62E41F10027AF002F8B0 # Ulises Gascón

See Verifying binaries for how to use these keys to verify a downloaded file.

Other keys used to sign some previous releases

Security release stewards

When possible, the commitment to take slots in the security release steward rotation is made by companies in order to ensure individuals who act as security stewards have the support and recognition from their employer to be able to prioritize security releases. Security release stewards manage security releases on a rotation basis as outlined in the security release process.

License

Node.js is available under the MIT License. Node.js also includes external libraries that are available under a variety of licenses. See LICENSE for the full license text.