difference between socket.io and socket.io-client code example
Example: difference between socket.io and socket.ioclient
const socket = new WebSocket('ws://localhost:3000');socket.onopen(() => { socket.send('Hello!');});socket.onmessage(data => { console.log(data);});