Johnhhorton
2/22/2017 - 4:14 AM

node-export-example-2.js

function myFunction1(){
    return true
}

function myFunction2(){
    return true
}

function myFunction3(){
    return true
}

//returns an object with references to functions.
module.exports = {
    func1: myFunction1,
    func2: myFunction1,
    func3: myFunction1
}