Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
4 questionsExplain the concept of 'middleware' in Express.js.
Frontend ยท 1.0k views ยท express.js, middleware, web development
What does NODE_ENV=production actually change and why does it matter?
Backend ยท 620 views ยท nodejs, ops, node-env
What is the purpose of the assert module in Node.js?
Phone Screen ยท 512 views ยท testing, modules, assert
What is the purpose of `package-lock.json`?
Phone Screen ยท 55 views ยท npm, dependencies, package-lock.json
Medium
9 questionsWhat are 'Event Emitting' patterns and how does error-first callback convention relate to them?
Low-Level Design ยท 1.2k views ยท async, patterns, events
How do you implement retries with exponential backoff and jitter?
Backend ยท 681 views ยท nodejs, resilience, retries
How do you handle errors in Node.js applications?
Low-Level Design ยท 669 views ยท error handling, asynchronous, promises
How do you handle uncaught exceptions and unhandled promise rejections in Node.js?
Low-Level Design ยท 429 views ยท errors, process, best-practices
Explain how to read and write large files using streams in Node.js
Low-Level Design ยท 233 views ยท fs, streams, io
Explain what 'callback hell' is and how to avoid it.
DSA ยท 210 views ยท callbacks, asynchronous, promises
What is the difference between operational and programmer errors in Node.js?
Backend ยท 208 views ยท error-handling, custom-errors, best-practices
Why is `stream.pipeline()` preferred over `.pipe()` for chaining streams?
Low-Level Design ยท 161 views ยท streams, pipeline, pipe
Hard
1 questionSeen a Node.js question that is not here? Add it and help the next candidate.
Share a question