can you have multiple module.exports code example
Example 1: What is the syntax to export a function from a module in Node.js
function foo() {}
function bar() {}
module.exports = foo;
module.exports = bar;
const foo = require('./module/path');
const bar = require('./module/path');
Example 2: how to export module in node js
module.exports ={
}
Example 3: module.exports multiple functions
module.exports = function(firstParam) { console.log("You did it"); },
module.exports = function(secondParam) { console.log("Yes you did it"); },