BuckleScript is an OCaml to JS compiler. So you can convert your code into JS and run it from Node. Or, you can simply compile it into native OCaml binary and run it just like you run a C or GoLang binary.
The choice would depend on whether you use libraries from the npm ecosystem, or from the OCaml ecosystem.