# iotdb-transport-iotdb

> IOTDB Transport for IOTDB

Latest version **3.0.5** (published 2016-09-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install iotdb-transport-iotdb
pnpm add iotdb-transport-iotdb
yarn add iotdb-transport-iotdb
bun add iotdb-transport-iotdb
```

## 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 | 3.0.5 |
| Published | 2016-09-19 |
| First published | 2015-04-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | David P. Janes |
| Maintainers | dpjanes |

## Links

- npm: https://www.npmjs.com/package/iotdb-transport-iotdb
- Repository: https://github.com/dpjanes/iotdb-transport-iotdb
- Homepage: https://homestar.io
- Issues: https://github.com/dpjanes/iotdb-transport-iotdb/issues
- npm.io page: https://npm.io/package/iotdb-transport-iotdb

## Dependencies (5)

- [rx](https://npm.io/package/rx.md) ~4.1.0
- [iotdb](https://npm.io/package/iotdb.md) >=3.0.0
- [assert](https://npm.io/package/assert.md) ~1.4.1
- [iotdb-errors](https://npm.io/package/iotdb-errors.md) ~3.0.2
- [iotdb-transport](https://npm.io/package/iotdb-transport.md) ~3.0.9

## Recent versions

- 3.0.5 (latest) — 2016-09-19
- 3.0.4 — 2016-09-19
- 3.0.3 — 2016-09-02
- 3.0.2 — 2016-08-31
- 3.0.1 — 2016-08-20
- 0.0.22 — 2016-05-21
- 0.0.21 — 2016-04-15
- 0.0.20 — 2016-02-14
- 0.0.19 — 2016-02-04
- 0.0.18 — 2016-02-02
- 0.0.17 — 2016-01-21
- 0.0.16 — 2015-12-30
- 0.0.15 — 2015-12-30
- 0.0.14 — 2015-09-19
- 0.0.13 — 2015-09-19
- … 12 more at https://npm.io/package/iotdb-transport-iotdb/versions

## README

# iotdb-transport-iotdb
[IOTDB](https://github.com/dpjanes/node-iotdb) 
[Transporter](https://github.com/dpjanes/node-iotdb/blob/master/docs/transporters.md)
for IOTDB (!)

<img src="https://raw.githubusercontent.com/dpjanes/iotdb-homestar/master/docs/HomeStar.png" align="right" />

# About

Transporters are all about connecting to other Transporters, e.g. so 
we can make an API to all our Things. 
So this is kinda the "root" Transporter that actually talks to the Things
using IOTDB, and you'll often be connecting other Transporters to this.

See the samples folder for working examples

* [Read more about Transporters](https://github.com/dpjanes/node-iotdb/blob/master/docs/transporters.md)

# Use
## Basic

Don't forget your `subscribe`s! Most Transporter methods 
return RX Observables.

Note that the path to the `prefix` will be created.

    const iotdb = require("iotdb");
    const iotdb_transport = require("iotdb-transport-iotdb");
    const iotdb_transporter = iotdb_transport.make({{});

    iotdb_transport
        .all({})
        .subscribe(
            thingd => { /* all the bands of the thing in thingd */ }
        );

## Specific Things

By default, the Transporter will use `iotdb.connect` and
connect to everything in your environment it can find. 
Sometimes you will just want to wrap specific things.

    const iotdb = require("iotdb");
    iotdb.use("homestar-wemo")

    const things = iotdb.connect("WeMoSocket");

    const iotdb_transport = require("iotdb-transport-iotdb");
    const iotdb_transporter = iotdb_transport.make({{}, things);

    // this transporter will only have WeMoSockets

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