# jill

> Hapi.js API plugin for sensor data

Latest version **1.4.0** (published 2015-10-20) · MIT license · 0 weekly downloads

## Install

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

## 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 | 1.4.0 |
| Published | 2015-10-20 |
| First published | 2014-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+5 in 3 direct dependencies) |
| Install scripts | no |
| Maintainers | wyatt |
| Keywords | hapijs, plugin, hapi |

## Links

- npm: https://www.npmjs.com/package/jill
- Repository: https://github.com/geek/jill
- Issues: https://github.com/geek/jill/issues
- npm.io page: https://npm.io/package/jill

## Dependencies (4)

- [joi](https://npm.io/package/joi.md) 6.x.x
- [boom](https://npm.io/package/boom.md) 2.x.x
- [hoek](https://npm.io/package/hoek.md) 2.x.x
- [mongodb](https://npm.io/package/mongodb.md) 2.x.x

## Recent versions

- 1.4.0 (latest) — 2015-10-20
- 1.3.1 — 2014-12-08
- 1.3.0 — 2014-12-08
- 1.2.0 — 2014-12-06
- 1.1.0 — 2014-12-01
- 1.0.1 — 2014-12-01
- 1.0.0 — 2014-12-01
- 0.1.0 — 2014-11-26
- 0.0.1 — 2014-11-18
- 0.0.0 — 2014-11-18

## README

Hapi.js API plugin for sensor data

* Requires mongodb *


### Endpoints

#### GET /boards

Return an array of board objects.  Returns all available boards in the database.

#### PUT /board/{boardId}

Create or update a board.  Expects the following payload:

```
{
    name,
    version,
    battery
}
```


#### GET /board/{boardId}

Retrieve the data for an individual board.


#### PUT /board/{boardId}/{addonId}

Create or update data for an addon.  Expects the following payload:

```
{
    type,
    name
}
```


#### GET /board/{boardId}/{addonId}

Retrieve all data for an addon


#### POST /board/{boardId}/{addonId}/reading

Create a reading for an addon.  Expects the following payload:

```
{
    type,
    value,
    time
}
```

#### POST /board/{boardId}/{addonId}/command

Create a command to send to an addon.  Expects the following payload:

```
{
    type,           // optional
    value
}
```



#### POST /log

Create a log message.  Expects the following payload:

```
{
    message,
    time,
    boardId,       // optional
}
```


#### GET /log/{logId}

Get a log message.

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