xterm.js attach by socket.io
It’s used socket.io server and client without origin WebSocket.
npm install xterm-addon-attach-socketio
npm i
tsc -p demo
node demo/server.js
open demo/index.html