# data-channel

> Turn a data channel into a stream

Latest version **0.2.2** (published 2014-12-01) · 0 weekly downloads

## Install

```sh
npm install data-channel
pnpm add data-channel
yarn add data-channel
bun add data-channel
```

## 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.2.2 |
| Published | 2014-12-01 |
| First published | 2012-11-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Raynos |
| Maintainers | raynos |
| Keywords | datachannel, stream, webrtc, peerconnection |

## Links

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

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) ~0.4.1

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.2.2 (latest) — 2014-12-01
- 0.2.1 — 2014-02-23
- 0.1.2 — 2012-12-03
- 0.1.1 — 2012-11-16
- 0.1.0 — 2012-11-16

## README

# data-channel

Turn a data channel into a stream

## Example

```js
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

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