module.exports exports the module for use in another program
require() imports the module for use in the current program
Export modules in ES6:
export default - export JavaScript objects, functions, and primitive data types
export - named exports to export data in variables; can be aliased with the as keyword
import - import any object, function, or data type