PeerJS
Simple peer-to-peer with WebRTC
PeerJS wraps the browser's WebRTC implementation to provide a complete, configurable, and easy-to-use peer-to-peer connection API. Equipped with nothing but an ID, a peer can create a P2P data or media stream connection to a remote peer. To broker connections, PeerJS connects to a PeerServer. Note that no peer-to-peer data goes through the server. The server acts only as a connection broker. If you don't want to run your own PeerServer, we offer a free cloud-hosted version of PeerServer...