If you're using PHP you can funnel your request to Node scripts via shell_exec, passing arguments to scripts as JSON strings in the command line. Example call:
The caveat is you need to be very careful about handling user data when it goes anywhere near a command line. Example nightmare: