Node.js
Build fast server-side JavaScript — the event loop, async patterns, HTTP APIs, databases, streams, testing, and production deployment.
3,159 lessons·All lessons free
- 1What Node.js is and why it exists
- 2The history of Node.js in five minutes
- 3Where Node.js shines: I/O-heavy services
- 4Where Node.js is the wrong tool
- 5Node.js vs. Deno vs. Bun
- 6Installing Node.js with a version manager
- 7node, npm, and npx: the three commands
- 8Running your first script
- 9The REPL for quick experiments
- 10Node.js release lines: LTS vs. Current
- 11The event loop, explained simply
- 12The call stack and the task queue
- 13Microtasks vs. macrotasks
- 14Blocking vs. non-blocking code
- 15The libuv thread pool
- 16process.nextTick vs. setImmediate
- 17Timers and the event loop phases
- 18What 'single-threaded' really means
- 19Measuring event loop lag
- 20CommonJS: require and module.exports
- 21ES modules: import and export
- 22Choosing between CJS and ESM
- 23What import() does
- 24import(): syntax and usage
- 25import(): practical examples
- 26import(): edge cases and pitfalls
- 27Common mistakes with import()
- 28The module cache and why require runs once
- 29Circular dependencies and how to break them
- 30node: prefixes for built-in modules
- 31Creating and publishing your own module