

Category · Node.js
JavaScript outside the browser
What Node.js and the event loop are, modules and npm, asynchrony, files, events, process and the environment, an HTTP server without a framework, streams, errors, and tests. The foundation for Express and any JS backend.
10 lessons101 min
To the first lessonCheatsheet nowTopics, each as its own lesson

01The runtime and the event loopDemoOne thread, a task queue, and no stopping to wait.
10 min
02Modules and npmimport/export split code into files, npm brings in other people's.
10 min
03async/await and Promise.allWait without blocking. Independent requests run in parallel.
11 min
04Files and pathsfs reads and writes, path joins paths without OS surprises.
9 min
05Events and process errorsEventEmitter: someone shouts, someone listens. And what to do when it all falls over.
10 min
06process: environment, arguments, exit codeHow a program learns where it's running and with which parameters.
9 min
07An HTTP server without a frameworkExpress is just a wrapper. Underneath is the node:http module.
11 min
08Streams and pipelineYou don't need to read a 2 GB file into memory whole. Process it in chunks.
11 min
09Errors: throw, try/catch, causeAn error isn't the end of the world if you know where to catch it.
10 min
10Tests: node:test and assertA test runner is already built into Node. No packages needed.
10 min0/10 topics open. This is the course intro, not the whole course on one page.
In the knowledge base
Reference pages for the technologies on this topic: who maintains them, when to use them and what interviews ask.