{"size": 274, "ext": "js", "max_stars_repo_path": "src/scripts/additional/tools.js", "max_stars_repo_name": "gamerboy0104123/Minecraft-Web", "max_stars_repo_stars_event_min_datetime": "2020-11-06T12:54:13.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-02T13:32:04.000Z", "max_issues_repo_path": "src/scripts/additional/tools.js", "max_issues_repo_name": "gamerboy0104123/Minecraft-Web", "max_issues_repo_issues_event_min_datetime": "2020-12-12T07:48:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-02T16:42:13.000Z", "max_forks_repo_path": "src/scripts/additional/tools.js", "max_forks_repo_name": "gamerboy0104123/Minecraft-Web", "max_forks_repo_forks_event_min_datetime": "2021-05-23T19:11:07.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-22T14:46:51.000Z"}
{"max_stars_count": 739, "max_issues_count": 80, "max_forks_count": 62, "avg_line_length": 19.5714285714, "max_line_length": 53, "alphanum_fraction": 0.5072992701}
const antiXSS = (str) => {
  const replacements = [
    [/&/g, '&amp;'],
    [/</g, '&lt;'],
    [/>/g, '&gt;'],
    [/"/g, '&quot;']
  ]
  for (const replacement of replacements) {
    str = str.replace(replacement[0], replacement[1])
  }
  return str
}
export { antiXSS }
