1.0.1 • Published 4 years ago

hypercore-streams v1.0.1

Weekly downloads
380
License
MIT
Repository
github
Last release
4 years ago

hypercore-streams

External implementation of a WriteStream and ReadStream for Hypercore

npm install hypercore-streams

Usage

const { WriteStream, ReadStream } = require('hypercore-streams')

const ws = new WriteStream(feed)
const rs = new ReadStream(feed, {
  start: 0,
  live: true,
  valueEncoding: 'json'
})

License

MIT