# multi-channel-shoe

> Create multiple channels using shoe

Latest version **0.1.0** (published 2012-08-04) · 0 weekly downloads

## Install

```sh
npm install multi-channel-shoe
pnpm add multi-channel-shoe
yarn add multi-channel-shoe
bun add multi-channel-shoe
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2012-08-04 |
| First published | 2012-08-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Raynos |
| Maintainers | raynos |

## Links

- npm: https://www.npmjs.com/package/multi-channel-shoe
- Repository: https://github.com/Raynos/multi-channel-shoe
- Issues: https://github.com/Raynos/multi-channel-shoe/issues
- npm.io page: https://npm.io/package/multi-channel-shoe

## Dependencies (2)

- [through](https://npm.io/package/through.md) ~0.1.2
- [memory-store](https://npm.io/package/memory-store.md) 0.0.1

## Recent versions

- 0.1.0 (latest) — 2012-08-04
- 0.0.2 — 2012-08-04
- 0.0.1 — 2012-08-04

## README

# multi-channel-shoe

Create multiple channels using shoe

## Example server

    var multiChannel = require("..")
        , net = require("net")
        , MuxDemux = require("mux-demux")
        , streamStore = require("memory-store")

    net.createServer(function (con) {
        var mdm = MuxDemux({
            error: false
        })
        mdm.on("connection", multiChannel(streamStore))
        con.pipe(mdm).pipe(con)
    }).listen(8642)

## Example client

    var net = require("net")
        , MuxDemux = require("mux-demux")
        , mdm = MuxDemux()
        , con = net.connect(8642)

    mdm.pipe(con).pipe(mdm)

    var room1 = mdm.createStream("multi-channel-room1")
        , room2 = mdm.createStream("multi-channel-room2")

    room1.on("data", console.log.bind(console, "room1"))
    room2.on("data", console.log.bind(console, "room2"))

    room1.write("hello")
    room2.write("world")

## Installation

`npm install multi-channel-shoe`

## Contributors

 - Raynos

## MIT Licenced

  [1]: https://secure.travis-ci.org/Raynos/multi-channel-shoe.png
  [2]: http://travis-ci.org/Raynos/multi-channel-shoe

---
_Source: https://npm.io/package/multi-channel-shoe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
