Browser See test.html Server See test.js Test npm install node sleepless-ws.js open http://localhost:12345/