Reviews

Hands-on Node.js: The Node.js Introduction and API Reference by Pedro Teixeira

This was one of the first Node.js books I read. It holds a special place for me, even though the ecosystem has changed dramatically since.

1 Nov 2024

Hands-on Node.js: The Node.js Introduction and API Reference by Pedro Teixeira

This was one of the first Node.js books I read. It holds a special place for me, even though the ecosystem has changed dramatically since.

Teixeira writes like an engineer explaining things to another engineer. No fluff. Clear explanations. He covers the event-driven, non-blocking architecture that makes Node different, and he does it without dumbing it down or drowning you in theory.

The book shines in its hands-on approach. Each concept comes with working code. You build things as you learn. The chapters on streams, buffers, and the HTTP module gave me mental models I still use. Understanding the event loop isn't optional if you're writing production Node — Teixeira makes sure you get it right.

The API reference sections are practical and well-organized. When I was starting out, I kept this book open alongside the official docs. The two complemented each other well.

Where the book shows its age: the Node ecosystem moves fast. Many patterns, libraries, and best practices covered in this book have evolved or been replaced entirely. Callbacks dominate the examples — no Promises, no async/await. The tooling landscape is unrecognizable compared to today.

The book also stays at the fundamentals level. If you're looking for architecture patterns, deployment strategies, or how to structure a large Node application, you'll need to look elsewhere. This is an introduction, and it knows it.

Despite that, I'd still recommend it to someone who wants to understand Node at its core. The fundamentals — event loop, streams, non-blocking I/O — haven't changed. If you understand those, you can learn any framework built on top of them.

Read this if you're starting with Node and want to understand why things work, not just how. Pair it with modern resources for current best practices.

Keep reading