Regarding this question: What is the purpose of Node.js module.exports and how do you use it?
I'm a Javascript beginner. In the referenced question...
mymodule.js code
var myFunc = function() { ... };
exports.myFunc = myFunc;
main js file
var m = require('./mymodule.js');
m.myFunc();
Is mymodule essentially a class file defining objects?