Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
8 questionsWhat is the difference between dependencies, devDependencies, and peerDependencies?
Phone Screen ยท 1.1k views ยท npm, package, architecture
Explain the difference between require() and import in Node.js.
Phone Screen ยท 1.0k views ยท modules, commonjs, esm
What does NODE_ENV=production actually change and why does it matter?
Backend ยท 619 views ยท nodejs, ops, node-env
What is Node.js and why is it popular?
Phone Screen ยท 594 views ยท basics, runtime, javascript
What is the purpose of the assert module in Node.js?
Phone Screen ยท 510 views ยท testing, modules, assert
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 331 views ยท v8, javascript, runtime
What is the difference between unit, integration, and end-to-end tests for a Node.js API?
Backend ยท 98 views ยท nodejs, testing, integration
How do you handle environment variables in Node.js?
Phone Screen ยท 49 views ยท environment variables, configuration, security
Medium
4 questionsHow do you containerize a Node.js app with a small, secure Docker image (multi-stage, distroless)?
System Design ยท 694 views ยท nodejs, docker, deployment
`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
What are some common security best practices in Node.js applications?
System Design ยท 390 views ยท security, best practices, authentication
Hard
7 questionsHow do you handle circular dependencies in Node.js?
Low-Level Design ยท 1.1k views ยท modules, commonjs, architecture
When would you use `child_process` module in Node.js?
System Design ยท 1.0k views ยท child_process, system calls, concurrency
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 are Single Executable Applications (SEA) in Node.js?
Backend ยท 637 views ยท nodejs, distribution, sea
Describe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
What is the role of `libuv` in Node.js?
System Design ยท 314 views ยท libuv, architecture, event loop
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