# serial-synapse-socket

> Wraps a serial-synapse function into a socket controllable service

Latest version **0.0.1** (published 2016-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install serial-synapse-socket
pnpm add serial-synapse-socket
yarn add serial-synapse-socket
bun add serial-synapse-socket
```

## 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.0.1 |
| Published | 2016-06-19 |
| First published | 2016-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Keith Chester |
| Maintainers | hlfshell |

## Links

- npm: https://www.npmjs.com/package/serial-synapse-socket
- npm.io page: https://npm.io/package/serial-synapse-socket

## Dependencies (1)

- [ws](https://npm.io/package/ws.md) ^1.1.0

## Recent versions

- 0.0.1 (latest) — 2016-06-19

## README

# synapse-serial-socket
Given a synapse object, create a socket server for the device. This is an accessory module for [Serial Synapse](https://github.com/hlfshell/serial-synapse).

#Install
```
npm install serial-synapse-socket
```

#Example

```
//Assuming you created a synapse object called synapse

var SynapseServer = require('serial-synapse-socket');
var server = new SynapseServer({
  port: 8080,
  synapse: synapse
});
'''

...That's it!

#Note
1 - There is no authentication yet
2 - Your update functions (*then*) are overridden in this version with one that broadcasts the data to all connected clients.

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