7 lines
183 B
Nim
7 lines
183 B
Nim
import os
|
|
|
|
proc findNodeJs*(): string {.inline.} =
|
|
## Find NodeJS executable and return it as a string.
|
|
result = findExe("nodejs")
|
|
if result == "":
|
|
result = findExe("node")
|