0.2.2 • Published 9 years ago

data-channel v0.2.2

Weekly downloads
279
License
-
Repository
github
Last release
9 years ago

data-channel

Turn a data channel into a stream

Example

var DataChannel = require("data-channel")

var pc = getPeerConnection(...)
    , channel = pc.createDataChannel
    , stream = DataChannel(channel)

stream.write("STREAM ALL THE THINGS")

Installation

npm install data-channel

Contributors

  • Raynos

MIT Licenced