Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
6 questionsWhat is the difference between dependencies, devDependencies, and peerDependencies?
Phone Screen ยท 1.1k views ยท npm, package, architecture
What does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 954 views ยท nodejs, tooling, dx
What is `npm` and what are its core functionalities?
Phone Screen ยท 390 views ยท npm, package manager, dependencies
Explain the purpose of `package.json` and `npm`.
Phone Screen ยท 294 views ยท npm, package.json, dependencies
What is the node:util parseArgs helper for building CLIs?
Backend ยท 223 views ยท nodejs, cli, parseargs
What is the purpose of `package-lock.json`?
Phone Screen ยท 51 views ยท npm, dependencies, package-lock.json
Medium
7 questionsWhat are npm workspaces and how do you manage a monorepo with them?
Backend ยท 1.1k views ยท nodejs, npm, monorepo
What are the differences between npm, Yarn, and pnpm?
Backend ยท 860 views ยท nodejs, npm, pnpm
How do you design liveness and readiness health-check endpoints?
Backend ยท 840 views ยท nodejs, ops, health-check
How do you containerize a Node.js app with a small, secure Docker image (multi-stage, distroless)?
System Design ยท 694 views ยท nodejs, docker, deployment
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 434 views ยท nodejs, testing, node-test
What are some common security best practices in Node.js applications?
System Design ยท 390 views ยท security, best practices, authentication
Describe the Node.js module system. What are CommonJS and ES Modules?
Phone Screen ยท 252 views ยท modules, commonjs, es modules
Hard
3 questionsHow do you handle circular dependencies in Node.js?
Low-Level Design ยท 1.1k views ยท modules, commonjs, architecture
What are Single Executable Applications (SEA) in Node.js?
Backend ยท 637 views ยท nodejs, distribution, sea
Explain 'dependency injection' and how it can be used in Node.js.
Low-Level Design ยท 443 views ยท design patterns, dependency injection, testing
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question