Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.

Usage no npm install needed!

<script type="module">
  import chainsafeWebsocket from 'https://cdn.skypack.dev/@chainsafe/websocket';


WebSocket Client & Server Implementation for Node

This is a fork of websocket@1.0.31. Please refer to it's repository for its documentation.

Fork explanation

The reason for this fork is that websocket recompiles a a few C modules every time it's installed. This fork uses a NAN-based of those modules instead, which doesn't require recompiling.

This fork won't be relevant once this websocket PR gets merged.