0.2.7 • Published 12 years ago

mux-demux-shoe v0.2.7

Weekly downloads
16
License
-
Repository
github
Last release
12 years ago

mux-demux-shoe build status

A mux demux connection through shoe!

Example Server

var shoe = require("mux-demux-shoe")

var sock = shoe(function (stream) {
    // stream from MuxDemux with the meta property set
    if (stream.meta === "one") {
        stream.on("data", console.log.bind(console))
    }
})

sock.install(someHttpServer, "/shoe")

Example client

var shoe = require("mux-demux-shoe")
    , mdm = shoe("/shoe")

var one = mdm.createStream("one")

one.write("hello world")

Installation

npm install mux-demux-shoe

Tests

make test

Contributors

  • Raynos

MIT Licenced

0.2.7

12 years ago

0.2.6

12 years ago

0.2.5

12 years ago

0.2.4

12 years ago

0.2.3

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.9

12 years ago

0.1.8

12 years ago

0.1.7

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.1

12 years ago