Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
9 questionsWhat is the difference between dependencies, devDependencies, and peerDependencies?
Phone Screen ยท 1.1k views ยท npm, package, architecture
What is npx and how does it differ from a global install?
Backend ยท 653 views ยท nodejs, npm, npx
What is Corepack and how does it manage npm, Yarn, and pnpm versions?
Backend ยท 614 views ยท corepack, npm, yarn
What is Node.js and why is it popular?
Phone Screen ยท 595 views ยท basics, runtime, javascript
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 ยท 298 views ยท npm, package.json, dependencies
What is semantic versioning and how do ^, ~, and exact versions behave?
Backend ยท 282 views ยท nodejs, npm, semver
What does the Node.js `--env-file` flag do, and does it replace dotenv?
Backend ยท 71 views ยท env-file, dotenv, configuration
Medium
10 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 are the differences between npm, Yarn, and pnpm?
Backend ยท 863 views ยท nodejs, npm, pnpm
How do you containerize a Node.js app with a small, secure Docker image (multi-stage, distroless)?
System Design ยท 696 views ยท nodejs, docker, deployment
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 436 views ยท nodejs, testing, node-test
What are some common security best practices in Node.js applications?
System Design ยท 391 views ยท security, best practices, authentication
What is undici and why is the global fetch built on it in modern Node.js?
Backend ยท 378 views ยท nodejs, http, undici
Hard
2 questionsSeen a Node.js question that is not here? Add it and help the next candidate.
Share a question