What is the role of require() in Node JS?
It is used to include modules from external files. It takes one string parameters( location of file ) that we want to include.
BY Best Interview Question ON 21 Feb 2021
Example
require('file location')