Node.js
js is a JavaScript runtime built on Chrome's V8 engine that lets JavaScript run outside the browser, enabling scalable, event-driven server-side applications.
Definition
Node.js is a JavaScript runtime built on Chrome's V8 engine that lets JavaScript run outside the browser, enabling scalable, event-driven server-side applications.
Overview
Ryan Dahl created Node.js in 2009, motivated by the limitations of the thread-per-connection model used by most web servers at the time. By pairing Google's V8 JavaScript engine with a non-blocking, event-driven I/O model, Node.js let a single thread handle many concurrent connections efficiently, and let developers use the same language, JavaScript, on both the client and the server. Node.js applications typically avoid blocking operations by using callbacks, promises, or async/await, letting the runtime continue processing other requests while waiting on I/O like database queries or file reads. Its package manager ecosystem, primarily npm, with alternatives like Yarn and Bun, became the largest software package registry in the world, powering frameworks such as Express.js and NestJS. Node.js is now governed by the OpenJS Foundation and underlies most modern full-stack JavaScript development, from REST and GraphQL APIs to real-time applications, tooling for frameworks like React and Next.js, and command-line utilities used throughout the JavaScript ecosystem.
Key Features
- Non-blocking, event-driven I/O model for high-concurrency workloads
- Built on Google's V8 JavaScript engine for fast execution
- Single language (JavaScript/TypeScript) across frontend and backend
- npm, the largest package registry, providing access to vast reusable libraries
- Native support for building REST APIs, GraphQL servers, and real-time apps
- Streams API for efficiently processing large amounts of data
- Cluster and worker-thread support for utilizing multiple CPU cores
- Governed by the OpenJS Foundation as a vendor-neutral open-source project
Use Cases
History
Node.js is a runtime that lets JavaScript run outside the browser, on the server, built on Google's V8 engine. It was created by Ryan Dahl, who presented it on May 27, 2009, at JSConf EU. Dahl was frustrated that existing servers handled large numbers of concurrent connections poorly, so he combined V8 with an event-driven, non-blocking I/O model that could serve many simultaneous connections efficiently on a single thread. Node.js brought JavaScript to the back end, enabled full-stack JavaScript development, and — through its npm package ecosystem — became one of the most widely used server platforms. Its governance later moved to the OpenJS Foundation.
Sources
- Node.js — official website · as of 2026-07-17
- Node.js on GitHub — nodejs/node · as of 2026-07-17
Frequently Asked Questions
From the Blog
Project: Build a Full-Stack To-Do App with React, Node.js and MongoDB
A full-stack to-do app is the perfect first MERN project — it covers every concept you'll use in production: REST APIs, database CRUD operations, JWT authentication, and deploying a frontend and backend separately. Build it once, understand the full stack.
Read More Learn Through HobbiesLearn Node.js Through Building a Music API
Node.js is JavaScript on the server, and building a REST API for your music collection is the perfect first project. This guide covers Express routes, middleware, JSON responses, and deploying to a free hosting service — all by building an API for a music playlist.
Read More