<commit_before>import os

proc findNodeJs*(): string =
  result = findExe("nodejs")
  if result == "":
    result = findExe("node")
  if result == "":
    result = findExe("iojs")

<commit_msg>Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627)<commit_after>import os

proc findNodeJs*(): string {.inline.} =
  ## Find NodeJS executable and return it as a string.
  result = findExe("nodejs")
  if result == "":
    result = findExe("node")

{'fraction_non_alphanumeric': 0.14989293361884368, 'fraction_numerical': 0.010706638115631691, 'mean_word_length': 4.142857142857143, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5067962', 'n_tokens_mistral': 161, 'n_tokens_neox': 154, 'n_words': 45}