telehash-stream
v0.0.4
Published
Adding stream support to telehash-js
Downloads
6
Readme
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