Yeah, they are exported so that you can do that, the functions are exported at the bottom of the file:

    exports.createZendeskTicket = defaultTicketsZendeskAPI.createZendeskTicket;

The functions are defined under a class whose members are the module dependencies so that I can provide alternate implementations of the dependencies while testing, e.g. to mock things. If I define the functions directly at the module level I can't override the dependency implementations without monkey patching the external modules while testing.