nodejs.nim 165 B

123456789
  1. import os
  2. proc findNodeJs*(): string =
  3. result = findExe("nodejs")
  4. if result == "":
  5. result = findExe("node")
  6. if result == "":
  7. result = findExe("iojs")