Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
3 questionsWhat are the main security risks of using the 'eval()' function in Node.js?
Phone Screen ยท 814 views ยท security, best-practices, eval
Views:814Likes:2
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
Medium
3 questionsWhat is the difference between spawn() and exec() in Node.js?
Phone Screen ยท 1.1k views ยท child-process, streams, v8
Views:1.1kLikes:42
What is top-level await and what are its caveats in Node.js ESM?
Backend ยท 927 views ยท nodejs, esm, async
Views:927Likes:30
What are some common security best practices in Node.js applications?
System Design ยท 391 views ยท security, best practices, authentication
Views:391Likes:4
Hard
3 questionsHow does CommonJS `require()` an ES Module in modern Node.js?
Backend ยท 1.1k views ยท commonjs, esm, require
Views:1.1kLikes:17
What is the package.json "exports" field and conditional exports?
Backend ยท 406 views ยท nodejs, esm, packaging
Views:406Likes:57
What is the 'vm' (Virtual Machine) module and when would you use it?
Low-Level Design ยท 405 views ยท vm, security, v8
Views:405Likes:7
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question