@mvp-tech/utils
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

@mvp-tech/utils

Common utils.

Release npm Coverage lines Coverage functions Coverage branches Coverage statements

📦 Installation

yarn add @mvp-tech/utils

🔨 Usage

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

List of all utils

  • chunk - creates an array of elements split into groups the length of size.
  • formatAmount - formats an amount value.
  • getNumberSeparators - returns separators for decimals and thousands according to localization.
  • isFilledArray - checks if a value is a filled array.
  • isOverflown - checks if an element's content is overflowing.
  • noop - empty function that returns undefined.
  • roundFloat - rounds a floating point number with given precision.
  • splitAmount - formats an amount with grouped thousands.

Readme

Keywords

none

Package Sidebar

Install

npm i @mvp-tech/utils

Weekly Downloads

2

Version

1.6.0

License

UNLICENSED

Unpacked Size

9.06 kB

Total Files

7

Last publish

Collaborators

  • s.skutin-mvp
  • a.soldatov