# iotdb-helpers

> pipe-oriented programming - core code

Latest version **3.5.9** (published 2021-02-14) · Apache-2.0 license · 0 weekly downloads

## Install

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

## 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.5.9 |
| Published | 2021-02-14 |
| First published | 2016-06-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 154.9 KB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David P. Janes |
| Maintainers | dpjanes |

## Links

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

## Dependencies (2)

- [uuid](https://npm.io/package/uuid.md) ~8.3.2
- [lodash](https://npm.io/package/lodash.md) ~4.17.20

## Recent versions

- 3.5.9 (latest) — 2021-02-14
- 3.5.8 — 2021-01-31
- 3.5.7 — 2021-01-25
- 3.5.6 — 2021-01-09
- 3.5.5 — 2021-01-08
- 3.5.4 — 2021-01-08
- 3.5.3 — 2021-01-05
- 3.5.2 — 2020-11-28
- 3.5.1 — 2020-11-27
- 3.4.23 — 2020-11-03
- 3.4.22 — 2020-09-21
- 3.4.21 — 2020-09-18
- 3.4.20 — 2020-08-25
- 3.4.19 — 2020-07-17
- 3.4.18 — 2020-07-02
- … 126 more at https://npm.io/package/iotdb-helpers/versions

## README

# iotdb-helpers

Lots of useful functions, built as an overlay on <strike>underscore</strike>lodash.

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

Now Bluebird / Async / Q free - 2020-01-08

# Introduction

These are tons of little useful functions. 

    const _ = require("iotdb-helpers");

Everything (well, 99%) is namespaced. For example, to access the `d` "dictionary" functions
you would do:

    _.d.get({ "a": { "b": 1 }}, "/a/b"); // returns "1"

# Sections
## Top Level

`_.noop` - do nothing
`_.make_error` - return a function that
## cfg

Configuration: find files and load them

## coerce

Coerce: change types of things, e.g. `"32"` -> `32`

## color

Color: color operations, such as RGB to HSV

## convert

Convert: unit of measure conversions, such as Celsius to Fahrenheit. 

## d

Dictionaries: manipuate dictionaries, such as getting nested values by path, compositing.

## error

Error: manipulate Error objects

## hash

Hash: hash stuff

## id

Id: create slugs, camel case, dash case, etc.

## is

Is: test types

## ld

Linked Data: work semantic web type LD data, where URIs are used as keys and multiple values may exist at keys

## logger

Loggger: log stuff (looks like <a href="https://github.com/trentm/node-bunyan">bunyan</a> but isn't - can be swapped in though)

## net

Net: do network operations, such as getting IPv4 / IPv6 addresses

## q

Queue: queue operations

## random

Random: generate random numbers and strings

## timestamp

Timestamp: work with ISO datetimes, such as generating, adding to dictionaries, comparison.

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