Node.js / Basic: the Node.js runtime
Node.js β Basic: the Node.js runtime
Build a precise foundation in JavaScript values, explicit modules, asynchronous control flow, files, HTTP, and startup configuration.
What you will learn
- Node.js and the JavaScript foundations
- Modules, packages, and npm
- Promises and the event loop
- Files, paths, and JSON
- HTTP requests and responses
- Configuration and command-line programs
Node.js and the JavaScript foundations
Understand what runs a server-side JavaScript program, choose a supported release deliberately, and use values and functions without depending on browser APIs.
Start learningModules, packages, and npm
Build explicit module boundaries and understand package metadata and repeatable dependency installation before adding third-party code.
Start learningPromises and the event loop
Reason about completion, sequencing, and cancellation without assuming that asynchronous code executes in parallel.
Start learningFiles, paths, and JSON
Read and write small data files safely while distinguishing bytes, text, paths, and validated application data.
Start learningHTTP requests and responses
Use core HTTP to identify requests, send complete responses, and test a server without leaving it running.
Start learningConfiguration and command-line programs
Turn text settings into validated configuration and make a small CLI predictable for people, automation, and tests.
Start learning