{"size": 444, "ext": "js", "max_stars_repo_path": "src/big-utils.js", "max_stars_repo_name": "alvarcarto/alvarcarto-price-util", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/big-utils.js", "max_issues_repo_name": "alvarcarto/alvarcarto-price-util", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/big-utils.js", "max_forks_repo_name": "alvarcarto/alvarcarto-price-util", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 14.3225806452, "max_line_length": 44, "alphanum_fraction": 0.5157657658}
function bigMax(...args) {
  let maxFound = args[0];

  for (let i = 1; i < args.length; i += 1) {
    const y = args[i];
    if (maxFound.lt(y)) {
      maxFound = y;
    }
  }

  return maxFound;
}

function bigMin(...args) {
  let minFound = args[0];

  for (let i = 1; i < args.length; i += 1) {
    const y = args[i];
    if (minFound.gt(y)) {
      minFound = y;
    }
  }

  return minFound;
}

module.exports = {
  bigMax,
  bigMin,
};
