# hs-node-lib

Latest version **1.1.7** (published 2023-01-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install hs-node-lib
pnpm add hs-node-lib
yarn add hs-node-lib
bun add hs-node-lib
```

## 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.1.7 |
| Published | 2023-01-05 |
| First published | 2022-11-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Holzschmiede |
| Maintainers | holzschmiede |

## Links

- npm: https://www.npmjs.com/package/hs-node-lib
- npm.io page: https://npm.io/package/hs-node-lib

## Recent versions

- 1.1.7 (latest) — 2023-01-05
- 1.1.6 — 2022-12-16
- 1.1.5 — 2022-12-12
- 1.1.4 — 2022-12-09
- 1.1.3 — 2022-11-06
- 1.1.2 — 2022-11-06
- 1.1.1 — 2022-11-06
- 1.1.0 — 2022-11-06
- 1.0.2 — 2022-11-06
- 1.0.1 — 2022-11-06
- 1.0.0 — 2022-11-06

## README

# hs-node-lib


## array.service.js

### dynamicArraySort
Sorts an array by property: 

``eventsToday.sort(dynamicArraySort("end"))``
### useFirstArrayRowAsKeys
Use incoming first col as header.

### getRandomArrayEntry
Returns a random array entry.

### asyncForEach
You can pass an array as first and the async callback as second argument:

```
const asyncForEach = require('@johoehn/async-foreach');
const arrayItems = [1,2,3];

(async() => {

    await asyncForEach(arrayItems, async (arrayItem) => {
        //await request
        console.log(arrayItem);
    });

})();
```


## date.service.js
## string.service.js
## url.service.js

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