JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12914
  • Score
    100M100P100Q128450F
  • License MIT

Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list

Package Exports

  • libp2p-bootstrap

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (libp2p-bootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

js-libp2p-railing

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

JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list

Lead Maintainer

Vasco Santos.

Usage

const Railing = require('libp2p-railing')

const options = {
  list: <List of Multiaddrs>
  interval: 5000 // ms, default is 10s
}

const b = new Railing(options)

b.on('peer', function (peerInfo) {
  // found a new peer
})

b.start()