importosprocfindNodeJs*():string{.inline.}=## Find NodeJS executable and return it as a string.result=findExe("nodejs")ifresult.len==0:result=findExe("node")ifresult.len==0:echo"Please install NodeJS first, see https://nodejs.org/en/download"raisenewException(IOError,"NodeJS not found in PATH: "&result)