{"size": 369, "ext": "js", "max_stars_repo_path": "src/listItem.js", "max_stars_repo_name": "ViriCruz/Restaurant", "max_stars_repo_stars_event_min_datetime": "2020-01-25T21:54:26.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-31T13:14:22.000Z", "max_issues_repo_path": "src/listItem.js", "max_issues_repo_name": "ViriCruz/Restaurant", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/listItem.js", "max_forks_repo_name": "ViriCruz/Restaurant", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.6, "max_line_length": 53, "alphanum_fraction": 0.6829268293}
const listItem = (nameClass, linkName, linkText) => {
  const li = document.createElement('li');
  li.classList.add(nameClass);
  const link = document.createElement('a');
  const div = document.createElement('div');
  link.href = '#';
  link.id = linkName;
  link.textContent = linkText;
  div.append(link);
  li.append(div);
  return li;
};

export default listItem;
