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 ยท 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
Explain the purpose of `package.json` and `npm`.
Phone Screen ยท 294 views ยท npm, package.json, dependencies
What is semantic versioning and how do ^, ~, and exact versions behave?
Backend ยท 280 views ยท nodejs, npm, semver
What does the Node.js `--env-file` flag do, and does it replace dotenv?
Backend ยท 66 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 ยท 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
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
What is undici and why is the global fetch built on it in modern Node.js?
Backend ยท 376 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