Node.js JavaScript runtime 🐢🚀
Go to file
Tobias Nießen e08a654fae
src: use Maybe<void> in ManagedEVPPKey
With recent versions of V8, it is not necessary to use Maybe<bool>
anymore. This changes member functions of ManagedEVPPKey to use
Maybe<void> instead, as well as (transitive) dependencies.

PR-URL: https://github.com/nodejs/node/pull/53811
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-07-13 12:55:01 +00:00
.devcontainer meta: remove `initializeCommand` from devcontainer 2024-05-26 12:34:11 +00:00
.github meta: add `node_sqlite.c` to PR label config 2024-07-12 20:42:49 +00:00
android-patches build: rewritten the Android build system 2022-09-12 08:10:29 +00:00
benchmark benchmark: add require-esm benchmark 2024-07-11 18:59:30 +00:00
deps deps: update ada to 2.9.0 2024-07-12 19:21:44 +00:00
doc doc: add Rafael to the last security release 2024-07-12 12:33:31 +00:00
lib stream: improve inspector ergonomics 2024-07-12 18:00:27 +00:00
src src: use Maybe<void> in ManagedEVPPKey 2024-07-13 12:55:01 +00:00
test lib,esm: handle bypass network-import via data: 2024-07-12 12:48:54 +00:00
tools deps: update nbytes and add update script 2024-07-12 13:58:08 +00:00
typings http, readline: replace sort with toSorted 2024-07-10 16:46:24 +00:00
.clang-format tools: add `make format-cpp` to run clang-format on C++ diffs 2018-08-03 19:40:23 +08:00
.cpplint tools: move cpplint configuration to .cpplint 2019-04-08 08:30:29 -04:00
.editorconfig tools: move ESLint to tools/eslint 2024-06-19 19:54:08 +00:00
.gitattributes doc: add .gitattributes for md files 2024-04-24 08:15:07 +03:00
.gitignore tools: update ESLint to v9 and use flat config 2024-05-23 19:45:18 +00:00
.gitpod.yml doc,tools: switch to `@node-core/utils` 2023-09-25 11:48:03 +00:00
.mailmap meta: add mailmap entry for legendecas 2024-05-04 10:26:26 +00:00
.nycrc test: add windows and C++ coverage 2020-10-21 19:41:08 -07:00
.yamllint.yaml build: extend yamllint configuration 2022-02-14 19:09:26 +01:00
BSDmakefile build: replace which with command -v 2020-11-19 19:33:28 +01:00
BUILD.gn build: add GN build files 2023-11-11 09:51:05 +00:00
BUILDING.md build: find version of Clang installed on Windows 2024-06-11 17:37:26 +00:00
CHANGELOG.md 2024-07-08, Version 22.4.1 (Current) 2024-07-08 14:20:29 -03:00
CODE_OF_CONDUCT.md tools: avoid unnecessary escaping in markdown formatter 2021-10-31 09:36:05 -07:00
CONTRIBUTING.md doc, meta: use markdown rather than HTML in CONTRIBUTING.md 2024-06-08 19:16:44 +00:00
GOVERNANCE.md doc: make docs more welcoming and descriptive for newcomers 2024-05-06 00:07:10 +02:00
LICENSE process: port on-exit-leak-free to core 2024-07-11 17:57:20 +00:00
Makefile src, deps: add nbytes library 2024-06-21 07:38:37 -07:00
README.md meta: move one or more collaborators to emeritus 2024-07-10 04:13:36 +00:00
SECURITY.md doc: fix minor grammar and style issues in SECURITY.md 2024-05-28 17:40:22 +00:00
android-configure build: add python 3.11 support for android 2022-12-11 02:58:02 +00:00
android_configure.py build: exit on unsupported host OS for Android 2024-05-25 07:39:56 +00:00
codecov.yml tools: disable Codecov commit statuses 2023-04-01 07:08:22 +00:00
common.gypi deps: V8: cherry-pick e061cf9970d9 2024-07-09 18:34:00 +00:00
configure build: support python 3.13 2024-05-30 22:09:16 +00:00
configure.py Revert "build: only generate specified build type files" 2024-06-26 07:29:47 +00:00
eslint.config.mjs tools: update eslint to 9.5.0 2024-06-22 12:54:57 +00:00
glossary.md doc: add more definitions to GLOSSARY.md 2024-05-05 22:30:31 +00:00
node.gni build: fix arm64 host cross-compilation in GN 2024-03-06 11:11:52 +09:00
node.gyp lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
node.gypi build: configure with shared sqlite3 2024-06-22 23:15:42 +00:00
onboarding.md doc: clarify what moderation issues are for 2024-03-08 19:01:00 +00:00
pyproject.toml tools: move ESLint to tools/eslint 2024-06-19 19:54:08 +00:00
suppressions.supp build,tools: add test-ubsan ci 2024-03-15 17:49:51 +00:00
tsconfig.json lib: fix `internalBinding` typings 2023-09-23 10:48:34 +00:00
unofficial.gni build: add gn files for deps/nbytes 2024-07-07 14:19:30 +09:00
vcbuild.bat tools: move ESLint to tools/eslint 2024-06-19 19:54:08 +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, v19.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 name and filename contains a date (in UTC) and the commit SHA at the HEAD of the release.

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 a downloaded file matches the checksum, run it through sha256sum with a command such as:

grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -

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. To import the keys:

gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C

See Release keys for a script 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 4ED778F539E3634C779C87C6D7062848A1AB005C # Beth Griggs
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57 # Bryan English
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201 # Danielle Adams
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 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins
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.