Converted to module

Only export calamine.transformDocument, all else is now private