nodejs.nim 166 B

12345678910
  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")