# @mvp-tech/utils

> Common MVP Tech utils

Latest version **1.6.0** (published 2023-08-28) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @mvp-tech/utils
pnpm add @mvp-tech/utils
yarn add @mvp-tech/utils
bun add @mvp-tech/utils
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.0 |
| Published | 2023-08-28 |
| First published | 2021-12-28 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MVP Tech team |
| Maintainers | s.skutin-mvp, a.soldatov |

## Links

- npm: https://www.npmjs.com/package/@mvp-tech/utils
- Repository: https://github.com/mvp-group/utils
- npm.io page: https://npm.io/package/@mvp-tech/utils

## Recent versions

- 1.6.0 (latest) — 2023-08-28
- 1.5.0 — 2022-09-14
- 1.4.1 — 2022-06-29
- 1.4.0 — 2022-06-28
- 1.3.1 — 2022-03-01
- 1.3.0 — 2022-03-01
- 1.2.1 — 2022-01-27
- 1.2.0 — 2022-01-26
- 1.1.3 — 2021-12-29
- 1.1.2 — 2021-12-29
- 1.1.1 — 2021-12-29
- 1.0.0 — 2021-12-28

## README

# @mvp-tech/utils

Common utils.

![Release](https://github.com/mvp-group/utils/actions/workflows/publish.yml/badge.svg)
[![npm](https://img.shields.io/npm/v/@mvp-tech/utils?label=%40mvp-tech%2Futils)](https://www.npmjs.com/package/@mvp-tech/utils)
![Coverage lines](./badges/badge-lines.svg)
![Coverage functions](./badges/badge-functions.svg)
![Coverage branches](./badges/badge-branches.svg)
![Coverage statements](./badges/badge-statements.svg)

## 📦 Installation

```bash
yarn add @mvp-tech/utils
```

## 🔨 Usage

```js
import { formatAmount } from "@mvp-group/utils";
```

## List of all utils

- [chunk](https://github.com/mvp-group/utils/blob/master/src/chunk/chunk.ts) - creates an array of elements split into groups the length of size.
- [formatAmount](https://github.com/mvp-group/utils/blob/master/src/format-amount/format-amount.ts) - formats an amount value.
- [getNumberSeparators](https://github.com/mvp-group/utils/blob/master/src/get-number-separators/get-number-separators.ts) - returns separators for decimals and thousands according to localization.
- [isFilledArray](https://github.com/mvp-group/utils/blob/master/src/is-filled-array/is-filled-array.ts) - checks if a value is a filled array.
- [isOverflown](https://github.com/mvp-group/utils/blob/master/src/is-overflown/is-overflown.ts) - checks if an element's content is overflowing.
- [noop](https://github.com/mvp-group/utils/blob/master/src/noop/noop.ts) - empty function that returns `undefined`.
- [roundFloat](https://github.com/mvp-group/utils/blob/master/src/round-float/round-float.ts) - rounds a floating point number with given precision.
- [splitAmount](https://github.com/mvp-group/utils/blob/master/src/split-amount/split-amount.ts) - formats an amount with grouped thousands.

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