node README

The project's README from github.com/nodejs/node. As one markdown file: 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 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.asc file with SHA checksums for the files and the releaser PGP signature.

You can get a trusted keyring from nodejs/release-keys, e.g. using curl:

curl -fsLo "/path/to/nodejs-keyring.kbx" "https://github.com/nodejs/release-keys/raw/HEAD/gpg/pubring.kbx"

Alternatively, you can import the releaser keys in your default keyring, see Release keys for commands on how to do that.

Then, you can verify the files you've downloaded locally (if you're using your default keyring, pass --keyring="${GNUPGHOME:-~/.gnupg}/pubring.kbx"):

curl -fsO "https://nodejs.org/dist/${VERSION}/SHASUMS256.txt.asc" \
&& gpgv --keyring="/path/to/nodejs-keyring.kbx" --output SHASUMS256.txt < SHASUMS256.txt.asc \
&& shasum --check SHASUMS256.txt --ignore-missing

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

node (nodejs/node)

Searching Database…

122.4K ·GitHub
Что это такое?Node.js — это среда выполнения JavaScript с открытым исходным кодом, работающая на разных платформах. Она позволяет запускать JavaScript-код вне браузера, обычно для серверов и инструментов командной строки.
Это фреймворк или сам движок JS?Это сама среда выполнения (построенная на основе V8), а не веб-фреймворк. Такие фреймворки, как Express, работают поверх неё.
Как запустить Node.js?Скачайте готовый бинарный файл, установщик или архив с исходным кодом для вашей ОС с сайта Node.js или соберите Node.js из исходников самостоятельно.
Сломается ли мой код при обновлении Node?Node выпускает новую мажорную версию каждые 6 месяцев (в апреле и октябре), а версии Current могут содержать несовместимые изменения. Только чётные мажорные версии становятся LTS: им дается 12 месяцев активной поддержки и 18 месяцев обслуживания.
На каких операционных системах он работает?Node.js собирается и поддерживается на Linux, macOS и Windows.
В чём разница между релизом Current и релизом LTS?Current — это активно развиваемая ветка последней мажорной версии, которая может содержать несовместимые изменения. LTS-релизы — это чётные мажорные версии, выбранные для долгосрочной стабильности: им дается 12 месяцев активной поддержки, за которыми следуют 18 месяцев обновлений только для обслуживания.
Есть ли ночные сборки, если я хочу самый свежий код?Да, ночные сборки компилируются каждые 24 часа из ветки Current при наличии изменений, но проект предупреждает, что использовать их нужно с осторожностью.
What are similar projects?node-gyp, chokidar, deno, tsx, ts-node, ava, core-js, joi
Creator
nodejs
Size
1.6 GB
Stars
122.4K
Age
11y
Commits · 90 Days