npm.io
0.2.2 • Published 11 years ago

data-channel

Licence
—
Version
0.2.2
Deps
1
Vulns
0
Weekly
0
Stars
18

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

Keywords