Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
5 questionsWhat does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 957 views ยท nodejs, tooling, dx
Views:957Likes:20
What is the role of the path module and why is it preferred over manual string concatenation?
Phone Screen ยท 877 views ยท path, file-system, cross-platform
Views:877Likes:54
How do you replicate __dirname in ES Modules using import.meta.url?
Backend ยท 476 views ยท nodejs, esm, import-meta
Views:476Likes:67
What is the purpose of the util.promisify function in Node.js?
Phone Screen ยท 453 views ยท utilities, promises, async
Views:453Likes:67
What is the purpose of `__dirname` and `__filename` in Node.js?
Phone Screen ยท 309 views ยท global variables, paths, modules
Views:309Likes:16
Medium
1 questionHard
4 questionsHow does the Node.js 'dns' module differ from browser-based DNS resolution?
Low-Level Design ยท 879 views ยท dns, networking, modules
Views:879Likes:57
What is the package.json "exports" field and conditional exports?
Backend ยท 406 views ยท nodejs, esm, packaging
Views:406Likes:57
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
Views:384Likes:77
How do database transactions work in Node.js and how do you avoid connection leaks?
Backend ยท 288 views ยท nodejs, database, transactions
Views:288Likes:38
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question