Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
11 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 role of the path module and why is it preferred over manual string concatenation?
Phone Screen ยท 873 views ยท path, file-system, cross-platform
Explain how modules work in Node.js.
Phone Screen ยท 826 views ยท modules, commonjs, es modules
What is the difference between string concatenation and path.join/path.resolve?
Phone Screen ยท 704 views ยท path, fs, cross-platform
What is npx and how does it differ from a global install?
Backend ยท 646 views ยท nodejs, npm, npx
How do you replicate __dirname in ES Modules using import.meta.url?
Backend ยท 473 views ยท nodejs, esm, import-meta
What is the purpose of the util.promisify function in Node.js?
Phone Screen ยท 452 views ยท utilities, promises, async
Medium
12 questionsHow would you implement caching in a Node.js application?
System Design ยท 1.2k views ยท caching, performance, redis
What are npm workspaces and how do you manage a monorepo with them?
Backend ยท 1.1k views ยท nodejs, npm, monorepo
What is top-level await and what are its caveats in Node.js ESM?
Backend ยท 925 views ยท nodejs, esm, async
How do you design REST API versioning in a Node.js service?
System Design ยท 801 views ยท api-design, versioning, rest
`Buffer.alloc` vs `Buffer.allocUnsafe` vs `Buffer.from` โ what are the security implications?
Low-Level Design ยท 672 views ยท buffer, security, memory
How do you run TypeScript directly in Node.js (native type stripping, tsx, ts-node)?
Backend ยท 529 views ยท nodejs, typescript, tooling
How can you debug a Node.js application?
Low-Level Design ยท 383 views ยท debugging, tools, vscode
What is `node:sqlite`, Node's built-in SQLite module?
Backend ยท 368 views ยท node:sqlite, database, sqlite
Hard
10 questionsWhat is diagnostics_channel and when would you use it?
Backend ยท 1.0k views ยท nodejs, observability, diagnostics
What are memory leaks in Node.js and how do you detect them?
Low-Level Design ยท 950 views ยท memory, debugging, v8
How does the Node.js 'dns' module differ from browser-based DNS resolution?
Low-Level Design ยท 875 views ยท dns, networking, modules
What changes for a Node.js app running on AWS Lambda vs a long-running server?
System Design ยท 774 views ยท serverless, aws-lambda, cold-start
What is the package.json "exports" field and conditional exports?
Backend ยท 404 views ยท nodejs, esm, packaging
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
How do you add OpenTelemetry distributed tracing to a Node.js service?
Backend ยท 307 views ยท nodejs, observability, opentelemetry
How do database transactions work in Node.js and how do you avoid connection leaks?
Backend ยท 284 views ยท nodejs, database, transactions
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question