data-channel

0.2.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    813
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    813
  • 0.2.1
    2
  • 0.1.2
    10
  • 0.1.1
    1
  • 0.1.0
    2

Package Sidebar

Install

npm i data-channel

Weekly Downloads

54

Version

0.2.2

License

none

Last publish

Collaborators

  • raynos