Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

ipfs-inactive/js-libp2p-ipfs-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[ARCHIVED] DEPRECATED — libp2p build (module) used in js-ipfs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11