Skip to content

External implementation of a WriteStream and ReadStream for Hypercore

License

Notifications You must be signed in to change notification settings

hypercore-protocol/hypercore-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

External implementation of a WriteStream and ReadStream for Hypercore

Resources

License

Stars

Watchers

Forks

Packages

No packages published