telehash-stream

0.0.4 • Public • Published

telesocket

Adding stream support to telehash-js channels, also implements the sock extension.

Usage

var self = new require("telehash-js").switch();
require("telehash-stream").install(self);

// on any channel created outgoing or received incoming do this to get a full read/write binary stream for that channel
var stream = chan.wrap("stream");

TODO: add a high level friendly self.stream("hashname") style api

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    4
  • 0.0.3
    2
  • 0.0.2
    1
  • 0.0.1
    2

Package Sidebar

Install

npm i telehash-stream

Weekly Downloads

5

Version

0.0.4

License

MIT

Last publish

Collaborators

  • quartzjer