Files
socket.io/examples/es-modules

Example with ES modules

How to use

# install the dependencies
$ npm ci

# start the server
$ node server.js

# start the client
$ node client.js

You need Node.js >=12.17.0.