@web4/unichain-streams
v1.0.0
Published
External implementation of a WriteStream and ReadStream for Unichain
Downloads
9
Readme
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