Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.0k Views6.3k Upvotes
35 easy78 med39 hard
Easy
4 questionsWhat is the purpose of the assert module in Node.js?
Phone Screen ยท 510 views ยท testing, modules, assert
Views:510Likes:51
Explain the concept of REPL in Node.js
Phone Screen ยท 314 views ยท fundamentals, repl, cli
Views:314Likes:2
What is the purpose of `__dirname` and `__filename` in Node.js?
Phone Screen ยท 304 views ยท global variables, paths, modules
Views:304Likes:16
What is the difference between unit, integration, and end-to-end tests for a Node.js API?
Backend ยท 98 views ยท nodejs, testing, integration
Views:98Likes: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 ยท 721 views ยท nodejs, architecture, repository-pattern
Views:721Likes:66
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 434 views ยท nodejs, testing, node-test
Views:434Likes:13
Hard
2 questionsHow does HTTP/2 support work in Node.js and how does it differ from HTTP/1.1?
Backend ยท 487 views ยท nodejs, http2, networking
Views:487Likes:63
Explain 'dependency injection' and how it can be used in Node.js.
Low-Level Design ยท 443 views ยท design patterns, dependency injection, testing
Views:443Likes:2
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question