Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
8 questionsWhat are stream piping and the .pipe() method in Node.js?
Phone Screen ยท 980 views ยท streams, file-system, pipes
What does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 957 views ยท nodejs, tooling, dx
What is the difference between readFile and createReadStream in Node.js?
Phone Screen ยท 913 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 ยท 453 views ยท utilities, promises, async
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 434 views ยท i/o, blocking, non-blocking
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 334 views ยท v8, javascript, runtime
What is the purpose of `__dirname` and `__filename` in Node.js?
Phone Screen ยท 309 views ยท global variables, paths, modules
Medium
8 questionsWhat is the purpose of the AbortController in modern Node.js?
Low-Level Design ยท 913 views ยท async, abortcontroller, promises
What are the differences between npm, Yarn, and pnpm?
Backend ยท 863 views ยท nodejs, npm, pnpm
What are Node.js Streams and when would you use them?
Low-Level Design ยท 617 views ยท streams, i/o, performance
What is the difference between an ORM, a query builder, and a raw driver?
Backend ยท 573 views ยท nodejs, database, orm
How does the thread pool work in Node.js?
Low-Level Design ยท 518 views ยท libuv, multithreading, event-loop
Describe the `Buffer` class in Node.js and its use cases.
Low-Level Design ยท 468 views ยท buffer, binary data, streams
What is the purpose of the 'zlib' module in Node.js?
Low-Level Design ยท 299 views ยท zlib, compression, performance
Explain how to read and write large files using streams in Node.js
Low-Level Design ยท 233 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 ยท 391 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 ยท 61 views ยท nodejs, security, permission-model
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question