how does require work in node js code example
Example: nodejs require
//What is require in Nodejs?
//Node.js follows the CommonJS module system, and the builtin require
//function is the easiest way to include modules that exist in separate
//files. The basic functionality of require is that it reads a JavaScript
//file, executes the file, and then proceeds to return the exports object.