What is the best way to forcibly keep a Node.js process running, i.e., keep its event loop from running empty and hence keeping the process from terminating?
Use "old" Streams mode to listen for a standard input that will never come:
// Start reading from stdin so we don't exit. process.stdin.resume();