js-libp2p/examples/libp2p-in-the-browser
David Dias 6905f1ba41
feat: (BREAKING CHANGE) overhaul libp2p config and constructor
* docs: update chat example and add info to its readme
* docs: update echo example
* docs: update libp2p in browser example
* docs: update pubsub example
* docs: update peer and content routing examples
* docs: update discovery mechanisms example
* docs: update encrypted comms example
* docs: update protocol and stream muxing example
* feat: add config validation
* test: update CI configs, use only node 8
2018-06-28 10:06:25 +02:00
..
2017-11-04 16:44:09 +00:00

libp2p running in the Browser

One of the primary goals with libp2p P2P was to get it fully working in the browser and interopable with the versions running in Go and in Node.js.

1. Setting up a simple app that lists connections to other nodes

Simple go into the folder 1 and execute the following

> cd 1
> npm install
> npm start
# open your browser in port :9090

Version Published on IPFS