Skip to content

udatny/js-ipfs-event-stream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS IPFS EventStream

Dependency Status Build Status

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 to diag/sys
  • diag/net: Events from an api call to diag/net
  • log/tail: Events from the log stream

About

Get a stream of everything happening on your IFPS node

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%