lib/utils.js
function pipeTransforms (stream, transforms) {
  var head, rest;
  if (!Array.isArray(transforms) || !transforms.length) {
    return stream;
  }
  head = transforms[0];
  rest = transforms.slice(1);
  // recursively pipe to remaining Transforms
  return pipeTransforms(stream.pipe(head), rest);
}
function pipeTransforms (stream, transforms) {
  var head, rest;
  if (!Array.isArray(transforms) || !transforms.length) {
    return stream;
  }
  head = transforms[0];
  rest = transforms.slice(1);
  // recursively pipe to remaining Transforms
  return pipeTransforms(stream.pipe(head), rest);
}
function pipeTransforms ( stream , transforms ) { var head , rest ; if ( ! Array . isArray ( transforms ) || ! transforms . length ) { return stream ; } head = transforms [ 0 ] ; rest = transforms . slice ( 1 ) ; // recursively pipe to remaining Transforms return pipeTransforms ( stream . pipe ( head ) , rest ) ; }
this module pipeTransforms (stream: Readable, transforms: Transforms[]) => Readable
this module pipeTransforms ( stream : Readable transforms : Transforms [] ) = > Readable