The JavaScript runtime that conquered the server — created by Ryan Dahl in 2009, built on Chrome's V8 engine. Event-driven, non-blocking I/O that brought JavaScript from the browser to everywhere.
Node.js is a JavaScript runtime built on Chrome's V8 engine. Created by Ryan Dahl in 2009, it took JavaScript — a language designed for browser scripting — and turned it into a general-purpose server-side platform. The idea was radical: use the same language on the frontend and backend.
At its core, Node.js uses an event-driven, non-blocking I/O model. Instead of spawning a new thread for every connection (like Apache), Node handles thousands of concurrent connections on a single thread using an event loop. This makes it lightweight, efficient, and ideal for data-intensive real-time applications.
The npm (Node Package Manager) registry is the world's largest software registry, with over 2.5 million packages. From web frameworks to CLI tools, from database drivers to machine learning libraries, npm has a package for virtually everything. Node.js didn't just bring JavaScript to the server — it created an entire ecosystem.
// server.js — a web server in 6 lines
const http = require('http');
const server = http.createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello, World!\n');
});
server.listen(3000, () => {
console.log('Server running at http://localhost:3000/');
});
Save as server.js and run with node server.js. No compilation, no configuration, no web server to install. Node.js is the server. This simplicity is what made it explode in popularity — from zero to powering Netflix, PayPal, and LinkedIn in under five years.
npm install.cluster.SharedArrayBuffer.import/export syntax alongside CommonJS require(). Modern JavaScript module system built in.node and start experimenting with JavaScript immediately.Before Node.js, web development was split: JavaScript on the frontend, something else (PHP, Ruby, Java, Python) on the backend. Developers needed to context-switch between languages, ecosystems, and mental models. Node.js erased that boundary. One language, one ecosystem, full stack.
The results were transformative. Netflix reduced startup time by 70% after migrating to Node. PayPal built their checkout page twice as fast with 33% fewer lines of code. LinkedIn moved from Ruby to Node and went from 30 servers to 3. Uber handles millions of rides per day on Node's event-driven architecture. NASA uses Node for its EVA (spacewalk) data systems.