This package has been deprecated

Author message:

Renamed to libp2p-ipfs-nodejs

libp2p-ipfs

0.15.0 • Public • Published

libp2p-ipfs

Build Status Coverage Status Dependency Status js-standard-style standard-readme compliant

libp2p build (module) used in js-ipfs

This libp2p build has support for:

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

Table of Contents

Install

npm

> npm i libp2p-ipfs

Use in Node.js

const lip2p = require('libp2p-ipfs')

Usage

API

Examples

  • Start two libp2p Nodes (create and make them listen)
  • Set up a handler for a protocol (through multistream)
  • Dial from one Node to the other using just one transport (TCP or uTP, and without SPDY or Yamux)
  • Dial from one Node to the other using one transport and one Stream Multiplexer
  • Dial from one Node to the other having set up secio

Contribute

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

This repository falls under the IPFS Code of Conduct.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i libp2p-ipfs

Weekly Downloads

28

Version

0.15.0

License

MIT

Last publish

Collaborators

  • daviddias