JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 988
  • Score
    100M100P100Q105101F
  • License (Apache-2.0 OR MIT)

JS Libp2p connections

Package Exports

  • @libp2p/connection
  • @libp2p/connection/status

Readme

libp2p-connection

Contains an implementation of the Connection interface

Table of contents

Usage

npm i libp2p-connection
import { Connection } from '@libp2p/connection'

const connection = new Connection({ ... })
const stream = connection.newStream([ '/my-protocol/v1.0.0' ])

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