To find a python script, I use
pgrep -af python.
Is there a similar command to find node.js scripts?
You could just do:
pgrep -a node
This could potentially detect false positives if you have another process with node in its name.
Also note this wouldn't work if the node script is using a node hashbang and was run without the node command, although I think that would also be the case for python scripts.