This works:
#!/usr/bin/node
console.log("hello");
mark it executable and enjoy.Unless that's not really what you were getting at with your comment. If I misunderstood, sorry!