combine.js 240 B

1234567891011
  1. var pipeline = require('multipipe');
  2. module.exports = function(){
  3. var args = arguments;
  4. if (args.length === 1 && Array.isArray(args[0])) {
  5. args = args[0];
  6. }
  7. return function(){
  8. return pipeline.apply(pipeline, args);
  9. };
  10. };