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