0.1.2 • Published 4 years ago

p2p-mesh-network v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

p2p-mesh-network

Make a peer to peer mesh network over WebRTC and send any type of data from browser to browser.

Perfect for ditributed applications where nodes can appear or disappear without warning.

Quick start

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. Find the npm package here.

import { Node } from "p2p-mesh-network";

let node = new Node();
node.connectToPeer("address of other node");
node.sendData("someData")

More information

Go to the documentation for information about the interface and explanation of some inner workings.

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

5 years ago

0.9.0

5 years ago