title: How to emit an infinite stream of numbers every second in nodejs using sockets and then receive them on an HTML Page
body: <p>I want to emit an infinite stream of numbers using nodejs and web sockets (preferably socket.io) in the back end server and then receive them on an html page using javascript. What would be the easiest way to do so?</p>