data-channel
Turn a data channel into a stream
Last updated 11 years ago by raynos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install data-channel 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.2                                ...           latest (10 years ago)

5 Versions

  • 0.2.2                                ...           10 years ago
  • 0.2.1                                ...           11 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |