node js module require multiple functions from one node
//In module
exports.method = function() {};
exports.otherMethod = function() {};
// OR:
module.exports = {
method: function() {},
otherMethod: function() {},
};
//In file that import functions from modules
const myModule = require('./myModule.js');
const method = myModule.method;
const otherMethod = myModule.otherMethod;
// OR:
const {method, otherMethod} = require('./myModule.js');