# cerealserver

> Simple server to manage communication through serial port

Latest version **2.0.0** (published 2018-11-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install cerealserver
pnpm add cerealserver
yarn add cerealserver
bun add cerealserver
```

## 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.0.0 |
| Published | 2018-11-12 |
| First published | 2018-11-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | maimo |
| Maintainers | maimo |

## Links

- npm: https://www.npmjs.com/package/cerealserver
- Repository: https://github.com/marcoaimo/CerealServer
- Homepage: https://github.com/marcoaimo/CerealServer#readme
- Issues: https://github.com/marcoaimo/CerealServer/issues
- npm.io page: https://npm.io/package/cerealserver

## Dependencies (1)

- [serialport](https://npm.io/package/serialport.md) ^7.0.2

## Recent versions

- 2.0.0 (latest) — 2018-11-12

## README

# CerealServer

Simple server to manage communication through serial port.

## Install

```
npm i --save cerealserver
```

## How it works

On your app.js file

```
const { CerealServer } = require('cerealserver')
/***
CerealServer constructor accept 3 parameters
 - serialport name
 - baudrate
 - callback to handle data send on serial port
***/
const cereal = new CerealServer('/dev/tty.usbmodem1411', 9600, (data) => console.log(data))
cereal.start()
```

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