# hiot-app

> library with structure and common components for application

Latest version **2.16.1** (published 2024-05-02) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install hiot-app
pnpm add hiot-app
yarn add hiot-app
bun add hiot-app
```

## 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.16.1 |
| Published | 2024-05-02 |
| First published | 2016-04-22 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 33.9 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Hiotlabs AB |
| Maintainers | florry, jdeibe, beckiwordsworth |
| Keywords | structure, startup, init |

## Links

- npm: https://www.npmjs.com/package/hiot-app
- Repository: https://github.com/hiotlabs/hiot-app-js
- Homepage: https://github.com/hiotlabs/hiot-app-js#readme
- Issues: https://github.com/hiotlabs/hiot-app-js/issues
- npm.io page: https://npm.io/package/hiot-app

## Dependencies (7)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [debug](https://npm.io/package/debug.md) ^4.3.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [restify](https://npm.io/package/restify.md) ^11.1.0
- [@sentry/node](https://npm.io/package/@sentry/node.md) ^6.0.2
- [hiot-wait-for](https://npm.io/package/hiot-wait-for.md) ^1.0.1
- [parent-module](https://npm.io/package/parent-module.md) ^2.0.0

## Recent versions

- 2.16.1 (latest) — 2024-05-02
- 2.16.0 — 2024-04-30
- 2.14.0-HOTFIX — 2022-05-17
- 2.15.0 — 2022-05-17
- 2.14.1 — 2021-11-29
- 2.14.0 — 2021-09-23
- 2.13.9 — 2021-09-09
- 2.13.8 — 2021-09-08
- 2.13.7 — 2021-09-08
- 2.13.6 — 2021-08-02
- 2.13.5 — 2021-07-26
- 2.13.4 — 2021-06-21
- 2.13.3 — 2021-06-21
- 2.13.2 — 2021-06-21
- 2.13.1 — 2021-06-21
- … 42 more at https://npm.io/package/hiot-app/versions

## README

# hiot-app-js

library with structure and common components for our nodejs applications

To write a middleware all you need to do is to write a function that takes a locator object
as a param and returns a promise that resolved the input param locator.

# Install

```bash
npm install hiot-app
```

# Tests

```bash
npm install
npm test
```

## Prettier & ESlint

we use `prettier` to format our code. Our recommendation is to configure your editor to autoformat during save. If you open up the VS Code User's settings/preferences as UI, search for "Format On Save" and make sure to activate it. Afterward, the file should format automatically once you save it. Now you don’t need to worry about your code formatting anymore, because Prettier takes care of it.

```
#manual checking and apply
npx prettier --check .
npx prettier --write .

#validate passes eslint
yarn run eslint .
yarn run eslint . --fix
# or
npm run lint
npm run lint-fix
```

## Publishing

```
npm install
npm test
npm login
(follow instructions)
npm publish
```

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