data-channel

Turn a data channel into a stream

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
data-channel
1700.2.29 years ago12 years agoMinified + gzip package size for data-channel in KB

Readme

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