# fasp-receiver

> A receiver for the Friendly Audio Streaming Protocol.

Latest version **2.1.1** (published 2019-11-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install fasp-receiver
pnpm add fasp-receiver
yarn add fasp-receiver
bun add fasp-receiver
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2019-11-17 |
| First published | 2018-04-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 5 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jannis R |
| Maintainers | derhuerst |
| Keywords | audio, streaming, friendly audio streaming protocol, fasp |

## Links

- npm: https://www.npmjs.com/package/fasp-receiver
- Repository: https://github.com/derhuerst/fasp-receiver
- Issues: https://github.com/derhuerst/fasp-receiver/issues
- npm.io page: https://npm.io/package/fasp-receiver

## Dependencies (5)

- [ws](https://npm.io/package/ws.md) ^7.2.0
- [mdns](https://npm.io/package/mdns.md) ^2.5.1
- [get-port](https://npm.io/package/get-port.md) ^5.0.0
- [bufferutil](https://npm.io/package/bufferutil.md) ^4.0.1
- [utf-8-validate](https://npm.io/package/utf-8-validate.md) ^5.0.2

## 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

- 2.1.1 (latest) — 2019-11-17
- 1.0.0-alpha.2 (next) — 2018-04-11
- 2.1.0 — 2019-11-17
- 2.0.0 — 2019-11-17
- 1.1.0 — 2019-11-17
- 1.0.0 — 2018-04-11
- 1.0.0-alpha.1 — 2018-04-11
- 0.3.0 — 2018-04-11
- 0.3.0-alpha.1 — 2018-04-11
- 0.2.0 — 2018-04-08

## README

# fasp-receiver

**A receiver for the [Friendly Audio Streaming Protocol](https://github.com/derhuerst/friendly-audio-streaming-protocol).**

[![npm version](https://img.shields.io/npm/v/fasp-receiver.svg)](https://www.npmjs.com/package/fasp-receiver)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/fasp-receiver.svg)
[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)


## Installing

```shell
npm install fasp-receiver
```


## Usage

```js
const createReceiver = require('fasp-receiver')

const receiver = createReceiver({
	version: 2
}, (err, info) => {
	if (err) console.error(err)
	else console.info(info.name, 'listening on port', info.port)
})

receiver.on('command', (cmd, args) => {
	console.log('command', cmd, args)
})
receiver.send('foo', ['bar', 'baz'])
```


## Contributing

If you have a question or have difficulties using `fasp-receiver`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/fasp-receiver/issues).

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