# @loadsmart/utils-phone-number

> useful functions for manipulating phone numbers

Latest version **0.3.1** (published 2020-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @loadsmart/utils-phone-number
pnpm add @loadsmart/utils-phone-number
yarn add @loadsmart/utils-phone-number
bun add @loadsmart/utils-phone-number
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2020-11-23 |
| First published | 2020-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Davidson Fellipe |
| Maintainers | welingtonms-loadsmart, raittes, brennervaz, loadsmart-frontend, eduardocardoso, oliver.tso, diogomafra, marlon.trapp.loadsmart, djalmaaraujo, lenoir.zamboni, lipe-dev, yidi0912, mwconceicao, luiz.loadsmart, douglasklein2, ydzswot, rui.martins, pedrohperalta, davidsonfellipe, gustavocsb |
| Keywords | phone-number |

## Links

- npm: https://www.npmjs.com/package/@loadsmart/utils-phone-number
- Repository: https://github.com/loadsmart/utils
- Homepage: https://github.com/loadsmart/utils#readme
- Issues: https://github.com/loadsmart/utils/issues
- npm.io page: https://npm.io/package/@loadsmart/utils-phone-number

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2020-11-23
- 0.0.2-alpha.8 (canary) — 2020-08-20
- 0.3.0 — 2020-11-19
- 0.2.0 — 2020-11-04
- 0.1.2 — 2020-10-06
- 0.1.1 — 2020-09-02
- 0.1.0 — 2020-09-02
- 0.0.2 — 2020-08-25
- 0.0.2-alpha.9 — 2020-08-20
- 0.0.2-alpha.7 — 2020-08-20
- 0.0.2-alpha.2 — 2020-08-20

## README

[![BundlePhobia](https://badgen.net/bundlephobia/min/@loadsmart/utils-phone-number)](https://bundlephobia.com/result?p=@loadsmart/utils-phone-number)
[![BundlePhobia](https://badgen.net/bundlephobia/minzip/@loadsmart/utils-phone-number)](https://bundlephobia.com/result?p=@loadsmart/utils-phone-number)

# `utils-phone-number`

> useful functions for manipulating phone numbers

## Install via NPM

```bash
$ npm i @loadsmart/utils-phone-number --save
```

## Install via yarn

```bash
$ yarn add @loadsmart/utils-phone-number
```

## Usage

```jsx
import React from 'react'

import { format } from '@loadsmart/utils-phone-number'

const phone = '+12345678910'
const mask = '+X (XXX) XXX-XXXX'

export default () => (
  <div>
    formatted: {format(phone, mask)}, should render: (+1 (234) 567-8910)
  </div>
)
```

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