# @ambassify/phonenumber

> Phonenumber utilities

Latest version **1.0.2** (published 2018-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ambassify/phonenumber
pnpm add @ambassify/phonenumber
yarn add @ambassify/phonenumber
bun add @ambassify/phonenumber
```

## 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.2 |
| Published | 2018-01-29 |
| First published | 2018-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ambassify |
| Maintainers | ambassify |
| Keywords | phonenumber |

## Links

- npm: https://www.npmjs.com/package/@ambassify/phonenumber
- Repository: https://github.com/ambassify/phonenumber
- Homepage: https://github.com/ambassify/phonenumber#readme
- Issues: https://github.com/ambassify/phonenumber/issues
- npm.io page: https://npm.io/package/@ambassify/phonenumber

## Dependencies (1)

- [libphonenumber-js](https://npm.io/package/libphonenumber-js.md) ^1.0.7

## 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

- 1.0.2 (latest) — 2018-01-29
- 1.0.1 — 2018-01-29

## README

# @ambassify/phonenumber

Phonenumber utilities.

__Note__: At this moment, it is a wrapper around [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js). Why?

- to make it easier to validate and normalize phonenumbers in the same way across our projects
- to make it easier to migrate to a more compact package than libphonenumber-js in the future
- because it would take too much time to create a more compact package at this time

## `@ambassify/phonenumber/normalize`

Exports a normalize function. It takes one argument, the number to normalize, and returns a new normalized number if possible and `false` otherwise.

## `@ambassify/phonenumber/validate`

Exports a validation function. It takes one argument, the number to validate, and returns a boolean that indicates whether or not the number is valid.

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