Just export the two functions directly. Adding an object like this is an antipattern and I'm sure there will be a lot of code like this because AMD/NodeJS people are used to it.