multiple exports in one file js code example
Example 1: node js module require multiple functions from one node
module.exports = {
method: function() {},
otherMethod: function() {},
};
Example 2: module.exports multiple functions
module.exports = function(firstParam) { console.log("You did it"); },
module.exports = function(secondParam) { console.log("Yes you did it"); },
// This may contain more functions