adspace
What is require in Node.js? How will you load external files and libraries in Node.js?
Answer Posted / Kapil Kumar
require is a function built into Node.js used to load and execute JavaScript modules. To load an external file, use the require() method followed by the module name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers