Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
12 questionsWhat is the difference between dependencies, devDependencies, and peerDependencies?
Phone Screen ยท 1.1k views ยท npm, package, architecture
How do you handle CORS (Cross-Origin Resource Sharing) in Node.js?
Frontend ยท 992 views ยท cors, security, express.js
What is npx and how does it differ from a global install?
Backend ยท 646 views ยท nodejs, npm, npx
What is Corepack and how does it manage npm, Yarn, and pnpm versions?
Backend ยท 613 views ยท corepack, npm, yarn
What is Node.js and why is it popular?
Phone Screen ยท 594 views ยท basics, runtime, javascript
What is `npm` and what are its core functionalities?
Phone Screen ยท 390 views ยท npm, package manager, dependencies
How can you securely store and verify passwords in a Node.js application?
Phone Screen ยท 340 views ยท security, crypto, auth
Explain the purpose of `package.json` and `npm`.
Phone Screen ยท 294 views ยท npm, package.json, dependencies
Medium
13 questionsWhat is CSRF and how do you protect a Node.js API against it?
Backend ยท 1.2k views ยท csrf, cors, security
When would you choose Node.js over other backend technologies?
System Design ยท 1.1k views ยท use cases, scalability, real-time
What are npm workspaces and how do you manage a monorepo with them?
Backend ยท 1.1k views ยท nodejs, npm, monorepo
What is the difference between "type": "module", .mjs, and .cjs?
Backend ยท 931 views ยท nodejs, esm, commonjs
What are the differences between npm, Yarn, and pnpm?
Backend ยท 860 views ยท nodejs, npm, pnpm
How do you containerize a Node.js app with a small, secure Docker image (multi-stage, distroless)?
System Design ยท 694 views ยท nodejs, docker, deployment
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
4 questionsHow does CommonJS `require()` an ES Module in modern Node.js?
Backend ยท 1.1k views ยท commonjs, esm, require
What is the package.json "exports" field and conditional exports?
Backend ยท 404 views ยท nodejs, esm, packaging
What is prototype pollution and how do you prevent it in Node.js?
Backend ยท 317 views ยท nodejs, security, prototype-pollution
How do you add OpenTelemetry distributed tracing to a Node.js service?
Backend ยท 307 views ยท nodejs, observability, opentelemetry
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question