1.0.0 • Published 3 years ago
@web4/unichain-streams v1.0.0
unichain-streams
External implementation of a WriteStream and ReadStream for Unichain
npm install @web4/unichain-streams
Usage
const { WriteStream, ReadStream } = require('@web4/unichain-streams')
const ws = new WriteStream(feed)
const rs = new ReadStream(feed, {
start: 0,
live: true,
valueEncoding: 'json'
})
License
MIT
1.0.0
3 years ago