Takes a function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.