function createTransformer(transformNames) {
  validate(transformNames);
  return new Transformer(transformNames.map(name => transformsMap[name]));
}
Factory for creating a Transformer
by just specifying the names of the transforms.
@param  {String[]} transformNames
@return {Transformer}