I’m wondering if there’s any way to listen for console messages and act on console messages when they’re received. Mainly, is there any way to do this without an external module, and using the
The goal is to trigger a NodeJS function or code snippet on an event like
click in the HTML. If there’s also a way to do this, then that’s great. But once again, I’d like to do this without an external module, and just use those that are built-in to NodeJS.
fetch to make a api call to the nodejs server.