yes, in the required file, use exports.myFunction = function(){}