code: function pipe(commands, input) {
    if (!commands) {
      return input;
    }
    return commands.reduce(function(input, cmd) {
      return npmRun.sync(cmd, {
        input: input
      });
    }, input);
  }
docs: run cli tools in series passing the stdout of previous tool as stdin of next one