Lets say I have this node module in a file called runJS.js:
var someObject = {
"getName": function(name){
return name;
}
}
exports.defult = someObject;
I know you can run the file at the command-line doing node runJS.js but how do say hey, I want to run getName from the command-line through the node command?