Node.js JavaScript runtime 🐢🚀
Go to file
Feng Yu 3847617f55
dns: make promise API fully constructed from lib/internal/dns/promises
PR-URL: https://github.com/nodejs/node/pull/43227
Refs: https://github.com/nodejs/node/discussions/43198
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
2022-06-20 19:58:45 +01:00
.github tools: fix create-or-update-pull-request-action hash on GHA 2022-06-11 14:59:37 +01:00
benchmark benchmark: add node-error benchmark 2022-05-30 09:54:21 -03:00
deps deps: update Corepack to 0.11.2 2022-06-15 04:05:50 +01:00
doc crypto: update Wrapping and unwrapping keys webcrypto example 2022-06-20 14:42:33 +01:00
lib dns: make promise API fully constructed from lib/internal/dns/promises 2022-06-20 19:58:45 +01:00
src src: remove CopyBuffer 2022-06-20 08:51:04 +01:00
test tools: update eslint to 8.18.0 2022-06-19 19:39:41 +01:00
tools doc: update link of ICU data slicer 2022-06-20 11:20:57 +02:00
typings async_hooks: remove destroyed symbol on Promises 2022-03-21 20:35:05 +00:00
.clang-format
.cpplint
.editorconfig tools: enforce use of single quotes in editorconfig 2020-11-12 06:19:49 +00:00
.eslintignore doc: make header smaller and dropdown click-driven when JS is on 2022-03-22 21:31:56 +00:00
.eslintrc.js src: add initial shadow realm support 2022-05-02 18:46:31 +02:00
.flake8
.gitattributes
.gitignore tools: add compile_commands to ignore file 2022-01-24 14:39:31 +00:00
.mailmap meta: update AUTHORS 2022-06-19 23:17:30 +01:00
.nycrc
.yamllint.yaml build: extend yamllint configuration 2022-02-14 19:09:26 +01:00
android-configure build: replace non-POSIX test -a|o 2021-05-21 15:47:16 -07:00
AUTHORS meta: update AUTHORS 2022-06-19 23:17:30 +01:00
BSDmakefile build: replace which with command -v 2020-11-19 19:33:28 +01:00
BUILDING.md doc: fix 404 link of BUILDING.md 2022-06-02 17:34:01 +01:00
CHANGELOG.md 2022-06-16, Version 18.4.0 (Current) 2022-06-16 09:45:05 -04:00
CODE_OF_CONDUCT.md tools: avoid unnecessary escaping in markdown formatter 2021-10-31 09:36:05 -07:00
codecov.yml build: turn off Codecov comments 2020-10-26 03:56:13 -07:00
common.gypi deps: make V8 10.2 ABI-compatible with 10.1 2022-04-21 11:56:00 +02:00
configure build: support Python 3.10.0 2021-10-06 17:07:07 -07:00
configure.py src,deps,build,test: add OpenSSL config appname 2022-05-31 13:41:30 +02:00
CONTRIBUTING.md doc: make contributing info more discoverable 2022-01-18 14:24:30 -05:00
glossary.md doc: add undici to glossary 2022-06-08 17:22:09 -07:00
GOVERNANCE.md doc: make contributing info more discoverable 2022-01-18 14:24:30 -05:00
LICENSE deps: update ICU to 71.1 2022-04-10 10:13:52 +01:00
Makefile doc: update default branch name in Makefile 2022-06-17 09:41:07 +02:00
node.gyp src,deps,build,test: add OpenSSL config appname 2022-05-31 13:41:30 +02:00
node.gypi build: fix various shared library build issues 2022-05-06 17:24:46 -04:00
onboarding.md doc: update main branch name in onboarding.md 2022-06-16 23:22:59 +01:00
README.md meta: move one or more collaborators to emeritus 2022-06-13 19:15:28 +01:00
SECURITY.md doc: use ASCII apostrophes consistently 2022-05-17 20:04:51 +01:00
tsconfig.json typings: add more bindings typings 2021-10-31 13:41:45 +01:00
vcbuild.bat build: add nonpm and nocorepack to vcbuild.bat 2022-06-02 16:39:08 +01:00

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.

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, v15.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-fermium directory contains the latest Fermium (Node.js 14) 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 DD8F2338BAE7501E3DD5AC78C273792F7D83545D

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)

Emeriti

TSC emeriti

Collaborators

Emeriti

Collaborator emeriti

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

Triagers

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
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
gpg --keyserver hkps://keys.openpgp.org --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
gpg --keyserver hkps://keys.openpgp.org --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
gpg --keyserver hkps://keys.openpgp.org --recv-keys 61FC681DFB92A079F1685E77973F295594EC4689
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
gpg --keyserver hkps://keys.openpgp.org --recv-keys A48C2BEE680E841632CD4E44F07496B3EB3C1762
gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A
gpg --keyserver hkps://keys.openpgp.org --recv-keys B9E2F5981AA6E0CD28160D9FF13993A75599653C

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.