Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
4 questionsWhat is the purpose of the assert module in Node.js?
Phone Screen ยท 512 views ยท testing, modules, assert
Views:512Likes:51
Explain the concept of REPL in Node.js
Phone Screen ยท 317 views ยท fundamentals, repl, cli
Views:317Likes:2
What is the purpose of `__dirname` and `__filename` in Node.js?
Phone Screen ยท 309 views ยท global variables, paths, modules
Views:309Likes:16
What is the difference between unit, integration, and end-to-end tests for a Node.js API?
Backend ยท 101 views ยท nodejs, testing, integration
Views:101Likes:21
Medium
3 questionsHow do you mock modules, timers, and network calls in Node.js tests?
Backend ยท 1.2k views ยท nodejs, testing, mocking
Views:1.2kLikes:76
What is the Repository pattern and how does it decouple business logic from the database?
Backend ยท 724 views ยท nodejs, architecture, repository-pattern
Views:724Likes:66
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 436 views ยท nodejs, testing, node-test
Views:436Likes:13
Hard
2 questionsHow does HTTP/2 support work in Node.js and how does it differ from HTTP/1.1?
Backend ยท 489 views ยท nodejs, http2, networking
Views:489Likes:63
Explain 'dependency injection' and how it can be used in Node.js.
Low-Level Design ยท 445 views ยท design patterns, dependency injection, testing
Views:445Likes:2
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question