How to get a node JS file on my website

I have a script that works fine when running it as node myscript.js

now i would like to know how i can include this on my website??

I uploaded my JS file to my server but how do i initiate it and print out the result on my website??