# tinyhelp

> Tiny helpers for lazy developers

Latest version **1.5.0** (published 2020-04-19) · MIT license · 0 weekly downloads

## Install

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

## 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.5.0 |
| Published | 2020-04-19 |
| First published | 2020-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | johnptmcdonald |
| Maintainers | johnptmcdonald |
| Keywords | example, simple |

## Links

- npm: https://www.npmjs.com/package/tinyhelp
- Repository: https://github.com/johnptmcdonald/tinyhelp
- Homepage: https://github.com/johnptmcdonald/tinyhelp#readme
- Issues: https://github.com/johnptmcdonald/tinyhelp/issues
- npm.io page: https://npm.io/package/tinyhelp

## Recent versions

- 1.5.0 (latest) — 2020-04-19
- 1.4.0 — 2020-04-18
- 1.3.1 — 2020-04-18
- 1.3.0 — 2020-04-18
- 1.2.0 — 2020-04-18
- 1.1.0 — 2020-04-18
- 1.0.0 — 2020-04-17
- 0.0.0-semantically-released — 2020-04-17

## README

# tinyhelp

![Travis build](https://img.shields.io/travis/johnptmcdonald/tinyhelp)
![Code Coverage](https://img.shields.io/codecov/c/github/johnptmcdonald/tinyhelp)

Install like this:
`npm i tinyhelp`

Then either import everything:

```
import * as helpMe from "tinyhelp";
helpMe.sort([5,2,6,3,5]); // => [2,3,5,5,6]
helpMe.flatten([1,[2,[3]]]) // => [1,2,3]
```

Or use named imports:

```
import { sort } from "tinyhelp";
sort([5,2,6,3,5]) // => [2,3,5,5,6]

```

This is a tiny library of javascript functions, currently comprising:

- deepCopy
- flatten
- isPrime
- sieveOfE (sieve of Eratosthenes)
- peek
- sort
- isEqual
- inPlaceShuffle
- regularShuffle

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