I want to export a function, call it someFunction:
someFunction = (foo)->
console.log(foo)
module.exports.someFunction = someFunction
but I am thinking about encapsulating it in another function
someOtherFunction = ()->
someFunction = (foo)->
console.log(foo)
What is the correct way to export it using modules
?