What is Require function & how to export custom module?

In Node.JS, Every JavaScript file is its own module and So far we have been loading module using the require function. What is Require function? The require function is the part of common JavaScript module. But it is only half part and the other half of the part is module.exports […]