ipfs-event-stream
v1.0.0-alpha.2
Published
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freejs-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) [![Dependency Status](https://david-d
Downloads
4
Readme
JS IPFS EventStream
Get a stream of everything happening on your IFPS node
Installation
$ npm i --save ipfs-event-stream
Usage
const createEventStream = require('ipfs-event-stream')
const api = getIPFSAPI()
const event$ = createEventStream(api)
event$.subscribe(event => console.log(event))
All events emitted have a source
property that can be either
diag/sys
: Events from an api call todiag/sys
diag/net
: Events from an api call todiag/net
log/tail
: Events from the log stream