← All open source projects

Node.js

nodejs/node

Node.js is a cross-platform JavaScript runtime for servers, command-line tools, and network applications.

Forks 35,761
Author nodejs
Language JavaScript
License NOASSERTION
Synced 2026-06-07

What Node.js is

Node.js is a JavaScript runtime outside the browser. It gave JavaScript access to the filesystem, networking, streams, npm packages, and server programs, so the language moved beyond pages into servers, build tools, command-line utilities, and desktop apps.

The project uses open governance with support from the OpenJS Foundation. Release policy is central: Current releases get new capabilities, while even-numbered major versions become LTS lines with longer stability and security support.

What is inside and how it is used

Simple HTTP server

This example shows the project shape and the usual way it is used.

Language: JavaScript
import http from "node:http";

const server = http.createServer((req, res) => {
  res.writeHead(200, { "content-type": "text/plain" });
  res.end("Hello from Node.js");
});

server.listen(3000);

The repository contains the runtime core, JavaScript and C/C++ pieces, V8, libuv, standard modules, tests, builds, binary releases, and maintenance teams. For users it usually means `node`, `npm`, and a huge package ecosystem.

Strengths and limits

Node.js is strong because one language can cover client, server, and tooling. Its limits involve asynchronous design, npm dependency risk, package security, and choosing LTS versions for long-lived projects.