Node.js

Also known as: Node, NodeJS

Node.js is a JavaScript runtime built on V8, outside the browser. Event-loop I/O, npm packages, and common use for APIs (Express) and tooling (Next.js, bundlers, CLIs).

import http from "node:http";

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

server.listen(3000);

← Back to CS Glossary