Node.js JavaScript runtime 🐢🚀
Go to file
Rich Trott cf6996458b
benchmark,test: use Object.hasOwn() where applicable
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn

PR-URL: https://github.com/nodejs/node/pull/41229
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2021-12-20 04:03:58 +00:00
.github build: improve readability of texts in workflows 2021-12-19 16:12:57 +00:00
benchmark benchmark,test: use Object.hasOwn() where applicable 2021-12-20 04:03:58 +00:00
deps deps: update archs files for quictls/openssl-3.0.1+quic 2021-12-16 11:51:19 +00:00
doc doc: align maxHeaderSize default with current value 2021-12-19 22:48:05 +00:00
lib lib: fix checking syntax of esm module 2021-12-19 23:33:34 +00:00
src perf_hooks: multiple fixes for Histogram 2021-12-19 09:56:36 -08:00
test benchmark,test: use Object.hasOwn() where applicable 2021-12-20 04:03:58 +00:00
tools tools: update eslint to 8.5.0 2021-12-19 15:28:41 +00:00
typings typings: add more bindings typings 2021-10-31 13:41:45 +01:00
.clang-format
.cpplint
.editorconfig tools: enforce use of single quotes in editorconfig 2020-11-12 06:19:49 +00:00
.eslintignore tools: re-implement lint-md without unified-args 2021-09-25 03:51:52 +00:00
.eslintrc.js tools: enable jsdoc/tag-lines ESLint rule 2021-12-19 05:30:09 +00:00
.flake8
.gitattributes
.gitignore build: add OpenSSL gyp artifacts to .gitignore 2021-11-27 15:07:12 +00:00
.mailmap meta: update AUTHORS 2021-12-12 15:49:09 -08:00
.nycrc
.yamllint.yaml tools: extend default yamllint config 2021-09-21 17:03:51 +00:00
android-configure build: replace non-POSIX test -a|o 2021-05-21 15:47:16 -07:00
AUTHORS meta: update AUTHORS 2021-12-19 07:37:56 -08:00
BSDmakefile build: replace which with command -v 2020-11-19 19:33:28 +01:00
BUILDING.md doc: document support building with Python 3.10 on Windows 2021-12-10 11:21:37 +01:00
CHANGELOG.md 2021-12-17, Version 17.3.0 (Current) 2021-12-17 18:13:50 -05: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: V8: cherry-pick cced52a97ee9 2021-11-21 16:06:10 +01:00
configure build: support Python 3.10.0 2021-10-06 17:07:07 -07:00
configure.py build: add --without-corepack 2021-12-05 10:23:25 +00:00
CONTRIBUTING.md tools: avoid unnecessary escaping in markdown formatter 2021-10-31 09:36:05 -07:00
glossary.md doc: use HEAD instead of master for links 2021-05-05 10:45:30 +02:00
GOVERNANCE.md meta: move to emeritus automatically after 18 months 2021-12-15 21:38:34 +00:00
LICENSE tools: remove Babel from license-builder.sh 2021-12-03 14:56:52 +00:00
Makefile build: skip documentation generation if no ICU 2021-12-07 09:24:38 -08:00
node.gyp src: prevent extra copies of TimerWrap::TimerCb 2021-11-12 21:47:42 +00:00
node.gypi deps,test,src,doc,tools: update to OpenSSL 3.0 2021-10-11 06:28:08 +02:00
onboarding.md doc: add info on project's usage of coverity 2021-10-25 16:43:40 -04:00
README.md meta: move one or more collaborators to emeritus 2021-12-15 14:10:32 -08:00
SECURITY.md meta: increase security policy response targets 2021-11-27 20:20:36 -08:00
tsconfig.json typings: add more bindings typings 2021-10-31 13:41:45 +01:00
vcbuild.bat tools: use jsdoc recommended rules 2021-12-04 19:04:05 -08: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 pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D

See the bottom of this README for a full 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 pool.sks-keyservers.net --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver pool.sks-keyservers.net --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
gpg --keyserver pool.sks-keyservers.net --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
gpg --keyserver pool.sks-keyservers.net --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
gpg --keyserver pool.sks-keyservers.net --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
gpg --keyserver pool.sks-keyservers.net --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
gpg --keyserver pool.sks-keyservers.net --recv-keys A48C2BEE680E841632CD4E44F07496B3EB3C1762
gpg --keyserver pool.sks-keyservers.net --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A
gpg --keyserver pool.sks-keyservers.net --recv-keys B9E2F5981AA6E0CD28160D9FF13993A75599653C

See the section above on Verifying Binaries for how to use these keys to verify a downloaded file.

Other keys used to sign some previous releases

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.