# mini-lodashmath

> lodash math

Latest version **1.0.7** (published 2018-01-16) · MIT license · 0 weekly downloads

## Install

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

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

## Links

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

## Recent versions

- 1.0.7 (latest) — 2018-01-16
- 1.0.6 — 2018-01-11
- 1.0.5 — 2018-01-09
- 1.0.4 — 2018-01-09
- 1.0.3 — 2018-01-09
- 1.0.2 — 2018-01-09
- 1.0.1 — 2018-01-08
- 1.0.0 — 2018-01-08

## README

## Installation

Using npm
```shell
$ npm install mini-lodashmath --save
```
## Available Methods

- min
- max
- sum
- mean
- ceil
- floor
- random

## Usage

```js
const _ = require('mini-lodashmath');

console.log(_.min([1, 2, 3])); // 1

console.log(_.max([1, 2, 3])); // 3

console.log(_.sum([1, 2, 3])); // 6

console.log(_.mean([1, 2, 3])); // 2

console.log(_.ceil(2.5)); // 3

console.log(_.floor(2.5)); // 2

console.log(_.random()); // default behavior of Math.random()

console.log(_.random(5)); // random number between 0 and 5 inclusive

console.log(_.random(1, 10)); // random number between 1 and 10 inclusive
```

## License
Code licensed under [MIT License](https://github.com/MarkAdell/mini-lodashmath/blob/master/LICENSE).

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