ws-alive

A JavaScript library to provide a WebSocket connection that will automatically reconnect if the connection is disconnect.

Usage no npm install needed!

<script type="module">
  import wsAlive from 'https://cdn.skypack.dev/ws-alive';
</script>

README

alivews

A JavaScript library to provide a WebSocket connection that will automatically reconnect if the connection is disconnect.