Node.js

A program that runs JavaScript outside the web browser, used mainly to build servers, command-line tools and back-end services.

In more detail

Node.js combines Google's V8 engine, which runs the JavaScript, with the libuv library, which talks to the operating system for files, networking and timers. Its central idea is non-blocking I/O: one main thread starts slow operations and carries on with other work while they finish. You start a program by typing node followed by a file name, such as node server.js.

Examples

node jit_monomorphism.ts runs a TypeScript file directly: current Node.js versions strip the type annotations before running it.
node --version
process.version

Related terms

Taught in

References