Path
Node.js
Start a project, write scripts and manage a package.json with npm - all offline, in a real terminal.
By Deboistech 5 labs 1 h 8 minBeginner to intermediate
Showing 1 of 5 labs.
- Subscription npm basics Start a project, add a script, run it through npm and set its version - all without a network.
- Subscription Modules with require and import Split code into modules, share functions with exports, and load them with require and import.
- Subscription Files and JSON with fs and path Read and write files and JSON from Node.js, and build paths that work wherever the script runs.
- Subscription A web server with the http module Build a small web server with Node's built-in http module - routes, JSON, 404s and request bodies.
- Subscription Testing with node --test Test with the built-in runner and assert - errors, async code, and a bug fixed test-first.
