talira

Run JavaScript Everywhere

open sourceMITself-hostablefree

Node.js is a free, open source, cross-platform JavaScript runtime for building servers, web apps, command-line tools and scripts. It runs JavaScript on Google's V8 engine and adds an asynchronous, event-driven I/O model with no locks, so one process handles many connections at once, plus built-in modules for HTTP, files, streams, worker threads, a test runner and more. Since v22.18.0 it also runs TypeScript files directly by stripping erasable type syntax and running the JavaScript left, with no flags. It ships with the npm package manager, has even-numbered Long Term Support releases (annual releases that all become LTS from Node.js 27), and is a project of the OpenJS Foundation.

Problems it solves

  • run JavaScript on a server instead of only in the browser
  • build a web server or API in the same language as my frontend
  • write a command-line tool in JavaScript and run it anywhere
  • handle thousands of concurrent network connections without managing threads
  • run a TypeScript file directly without a separate compile step
  • a runtime with long-term support releases I can run in production for years
  • run my build tooling and scripts with a huge ecosystem of packages

Features

  • JavaScript runtime built on the V8 engine
  • asynchronous, event-driven, non-blocking I/O
  • runs TypeScript natively by type stripping (v22.18.0 and later, no flags)
  • built-in HTTP, file system, streams and worker threads
  • built-in test runner with mocking and code coverage
  • ships with npm
  • Node-API for native add-ons
  • Long Term Support release lines

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Node.js does.

  1. Deno Modern runtime for JavaScript and TypeScript, fully Node-compatible
  2. Bun Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
  3. .NET A free, cross-platform, open-source developer platform for building many kinds of applications

Compare Node.js with the top 3