io in node js code example
Example 1: install socket.io
npm i socket.io
Example 2: socket..io
<script src="https://cdn.socket.io/socket.io-3.0.1.min.js"></script>
npm i socket.io
<script src="https://cdn.socket.io/socket.io-3.0.1.min.js"></script>