# mini-lodasharray

> mini array functions library

Latest version **1.0.1** (published 2018-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install mini-lodasharray
pnpm add mini-lodasharray
yarn add mini-lodasharray
bun add mini-lodasharray
```

## 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.0.1 |
| Published | 2018-01-20 |
| First published | 2018-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mark Adel |
| Maintainers | markadel |

## Links

- npm: https://www.npmjs.com/package/mini-lodasharray
- Repository: https://github.com/MarkAdell/mini-lodasharray
- Homepage: https://github.com/MarkAdell/mini-lodasharray#readme
- Issues: https://github.com/MarkAdell/mini-lodasharray/issues
- npm.io page: https://npm.io/package/mini-lodasharray

## Dependencies (1)

- [mini-lodashmath](https://npm.io/package/mini-lodashmath.md) ^1.0.7

## Recent versions

- 1.0.1 (latest) — 2018-01-20
- 1.0.0 — 2018-01-19

## README

## Installation

Using npm
```shell
$ npm install mini-lodasharray --save
```
## Available Methods

- uniq
- remove
- concat
- range
- shuffle

## Usage

```js
const _ = require('mini-lodasharray');

console.log(_.uniq([1, 1, 2, 2, 3])); // [1, 2, 3]

console.log(_.remove([1, 2, 3, 4, 5], el => el % 2 === 0)); // [1, 3, 5]

console.log(_.remove([{ n: 1 }, { n: 2 }], el => el.n === 1)); // [{n: 2}]

console.log(_.concat([1], [2, 3], 4, { n: 5 })); // [1, 2, 3, 4, {n: 5}]

console.log(_.range(1, 5)); // [1, 2, 3, 4, 5]

console.log(_.range(3)); // [0, 1, 2, 3]

console.log(_.shuffle([1, 2, 3, 4, 5])); // array after shuffling, ex: [3, 5, 2, 1, 4]
```

## License
Code licensed under [MIT License](https://github.com/MarkAdell/mini-lodasharray/blob/master/LICENSE).

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