1 2 3 4 5 6 7
import os proc findNodeJs*(): string {.inline.} = ## Find NodeJS executable and return it as a string. result = findExe("nodejs") if result == "": result = findExe("node")