An open API service indexing awesome lists of open source software.

https://github.com/hypercore-protocol/hypercore-streams

External implementation of a WriteStream and ReadStream for Hypercore
https://github.com/hypercore-protocol/hypercore-streams

Last synced: about 2 months ago
JSON representation

External implementation of a WriteStream and ReadStream for Hypercore

Awesome Lists containing this project

README

          

# hypercore-streams

External implementation of a WriteStream and ReadStream for Hypercore

```
npm install hypercore-streams
```

## Usage

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

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

## License

MIT