Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

tomvaneyck/p2p-mesh-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2p-mesh-network

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.

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.

About

A peer to peer mesh network for distributed applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •