reactive-steem
0.0.5 • Public • Published reactive-steem

Reactive Programming + STEEM
Get started
$ npm i -SE reactive-steem
Stream blocks:
const { stream } = require('reactive-steem')
stream()
.blocks
.subscribe(({ block }) => {
console.log(block)
})
Stream transactions:
const { stream, toTransaction } = require('reactive-steem')
stream()
.blocks
.pipe(toTransaction)
.subscribe(({ transaction, block }) => {
const [opType, op] = transaction.operations[0]
console.log(opType, op)
})
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads