What is the correspondence between a Node.js module and a script file?
Answers
Answered by
0
Node supports a simple module loading system: there is a one-to-one correspondence between the file and module. To include a module within a Node application, use the require statement, passing in a string with the identifier for the module: var http = require ('http');
Answered by
1
Here's the answer. Hope it's helpful for you.
Please Mark me as brainliest.
Attachments:
Similar questions