Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 355 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 355 Bytes

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