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
- Host: GitHub
- URL: https://github.com/hypercore-protocol/hypercore-streams
- Owner: hypercore-protocol
- License: mit
- Created: 2020-06-10T20:50:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T04:43:11.000Z (over 5 years ago)
- Last Synced: 2025-08-09T08:23:24.845Z (7 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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