Skip to content

hackergrrl/js-libp2p-ipfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-libp2p-ipfs

[ Build Status](https://travis-ci.org/ipfs/js-libp2p-ipfs) Coverage Status Dependency Status js-standard-style

libp2p build (module) used in js-ipfs

Installation

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

About

libp2p build (module) used in js-ipfs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%