I'm currently using Node.JS to back end into different systems. From my web page I want to be able to call a function in the Node.JS script and have it return some values.
Here is a diagram of what I mean.
JS --> calls function --> node.js --> executes function called by normal js