Make a peer to peer mesh network over WebRTC and send any type of data from browser to browser. Perfect for distributed applications where nodes can appear or disappear without warning.
Import this library in your project, make a new node and connect to others to establish a network. Then just send any data you like.
import { Node } from "p2p-mesh-network";
let node = new Node();
node.connectToPeer("address of other node");
node.sendData("someData")Go to the documentation for information about the interface and explanation of some inner workings.