Fix missing module.exports from format.js
Merge pull request #539 from mroderick/fix-missing-export-from-format

Fix missing module.exports from format.js