Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
8 questionsWhat are stream piping and the .pipe() method in Node.js?
Phone Screen ยท 978 views ยท streams, file-system, pipes
What does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 954 views ยท nodejs, tooling, dx
What is the difference between readFile and createReadStream in Node.js?
Phone Screen ยท 884 views ยท file-system, streams, memory
What is the difference between string concatenation and path.join/path.resolve?
Phone Screen ยท 704 views ยท path, fs, cross-platform
What is the purpose of the util.promisify function in Node.js?
Phone Screen ยท 452 views ยท utilities, promises, async
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 432 views ยท i/o, blocking, non-blocking
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 331 views ยท v8, javascript, runtime
What is the purpose of `__dirname` and `__filename` in Node.js?
Phone Screen ยท 304 views ยท global variables, paths, modules
Medium
8 questionsWhat is the purpose of the AbortController in modern Node.js?
Low-Level Design ยท 911 views ยท async, abortcontroller, promises
What are the differences between npm, Yarn, and pnpm?
Backend ยท 860 views ยท nodejs, npm, pnpm
What are Node.js Streams and when would you use them?
Low-Level Design ยท 615 views ยท streams, i/o, performance
What is the difference between an ORM, a query builder, and a raw driver?
Backend ยท 571 views ยท nodejs, database, orm
How does the thread pool work in Node.js?
Low-Level Design ยท 515 views ยท libuv, multithreading, event-loop
Describe the `Buffer` class in Node.js and its use cases.
Low-Level Design ยท 467 views ยท buffer, binary data, streams
What is the purpose of the 'zlib' module in Node.js?
Low-Level Design ยท 297 views ยท zlib, compression, performance
Explain how to read and write large files using streams in Node.js
Low-Level Design ยท 229 views ยท fs, streams, io
Hard
4 questionsDescribe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
What do `unref()` and `ref()` do on a Node.js Timeout, and why do timers drift?
Backend ยท 388 views ยท timers, event-loop, unref
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
What is the Node.js permission model (--permission) and what does it protect against?
Backend ยท 58 views ยท nodejs, security, permission-model
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question