Quiz · 5 questions
📡 I/O and Networking
fs/promises, http, native fetch, WebSocket, file watchers
Level 0Node Curious
0 XP0/40 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01You need to atomically update a JSON config file that other processes also read. What's the canonical pattern?
02Inside an
http.createServer handler, how do you read the request body in modern Node?03Your
fetch(url) got back a 404. What does the returned Promise do?04You need the server to push updates to clients. When is WebSocket the right choice over Server-Sent Events (SSE)?
05Why does most dev tooling (Vite, Next.js dev) use the
chokidar npm package instead of native fs.watch?Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.