Skip to content

fbaiodias/js-libp2p-ipfs-browser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-libp2p-ipfs-browser

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

libp2p build (module) used in js-ipfs when running it on the browser.

This libp2p build has support for:

  • WebSockets and WebRTC
  • SPDY stream multiplexing
  • secio encrypted channels
  • Identify STUN protocol

Table of Contents

Install

npm install --save libp2p-ipfs-browser

Usage

const libp2p-ipfs-browser = require('libp2p-ipfs-browser')

libp2p-ipfs-browser.start()

API

start

stop

dialById

dialByMultiaddr

dialByPeerInfo

hangUpById

hangUpByMultiaddr

hangUpByPeerInfo

handle

unhandle

discovery

This will create a new instance of an events EventEmitter.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

MIT

About

libp2p build (module) used in js-ipfs when running it on the browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%