js-libp2p/README.md
2015-07-10 12:28:40 -07:00

767 B

ipfs-swarm Node.js implementation

IPFS swarm implementation in Node.js

Description

ipfs-swarm is an abstraction for the network layer on IPFS. It offers an API to open streams between peers on a specific protocol.

Ref link (still a WiP) - https://github.com/diasdavid/specs/blob/protocol-spec/protocol/layers.md#network-layer

Usage

API calls

.openStream .registerHandle

Events emmited

.on('error')

.on('connection') .on('connection-unknown')

.on('stream') .on('stream-unknown')