docs: function callYarnOrNpm(yarnCommand, npmCommand) {
    let command;
  
    if (isYarnAvailable) {
      command = yarnCommand;
    } else {
      command = npmCommand;
    }
  
    const args = command.split(' ');
    const cmd = args.shift();
  
    const res = spawnSync(cmd, args, spawnOpts);
  
    return res;
  }