node js module require multiple functions from one node

JavaScript
const myModule = require('./myModule.js');
const method = myModule.method;
const otherMethod = myModule.otherMethod;
// OR:
const {method, otherMethod} = require('./myModule.js');
module.exports = {
    method: function() {},
    otherMethod: function() {},
};
exports.method = function() {};
exports.otherMethod = function() {};
module.exports = function(firstParam) { console.log("You did it"); },
module.exports = function(secondParam) { console.log("Yes you did it"); }, 
// This may contain more functions
Source

Also in JavaScript: