Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.0k 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 ยท 811 views ยท security, best-practices, eval
Views:811Likes:2
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
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 ยท 925 views ยท nodejs, esm, async
Views:925Likes:30
What are some common security best practices in Node.js applications?
System Design ยท 390 views ยท security, best practices, authentication
Views:390Likes: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 'vm' (Virtual Machine) module and when would you use it?
Low-Level Design ยท 404 views ยท vm, security, v8
Views:404Likes:7
What is the package.json "exports" field and conditional exports?
Backend ยท 404 views ยท nodejs, esm, packaging
Views:404Likes:57
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question