Registers a listener for key lifecycle and connection-related events emitted by the noonjs server. This allows for custom handling and logging during server operations.
...
noonjs.on("error", error => {
console.log(error)
})
noonjs.on("started", port => {
console.log(`✅ Server is running on http://localhost:${port}`)
})
...