I have a node.js application and a C# algorithm. The algorithm puts out 15 numbers that represent symbols on a digital slot machine. The node server is posting and getting data from Firebase and the digital slot machine is doing the same on the same table.

My question is how do I get the node server to run or get information from a C# algorithm? Everything else is written in Javascript. Do I have to rewrite the algorithm in JS to integrate? I tried using a node module called edge.js but every time I tried to run my server there were compilation errors.

Any help is greatly appreciated.