libp2p-topology
libp2p network topology
Last updated 4 years ago by achingbrain .
(Apache-2.0 OR MIT) · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install libp2p-topology 
SYNC missed versions from official npm registry.

libp2p-topology

Contains an implementation of the Topology interface

Table of contents

Usage

npm i libp2p-connection
import { Topology } from 'libp2p-topology'
import { MulticodecTopology } from 'libp2p-topology/multicodec-topology'

const topology = new Topology({ ... })
const multicodecTopology = new MulticodecTopology({ ... })

Contribute

The libp2p implementation in JavaScript is a work in progress. As such, there are a few things you can do right now to help out:

  • Go through the modules and check out existing issues. This would be especially useful for modules in active development. Some knowledge of IPFS/libp2p may be required, as well as the infrastructure behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
  • Perform code reviews. More eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
  • Add tests. There can never be enough tests.

License

Apache-2.0 or MIT © Protocol Labs

Current Tags

  • 0.3.1                                ...           latest (4 years ago)

5 Versions

  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |