# phone2carrier

> Validation and number type recognition using libphonenumber library, country code recognition, and most importantly mobile carrier.

Latest version **1.0.7** (published 2022-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install phone2carrier
pnpm add phone2carrier
yarn add phone2carrier
bun add phone2carrier
```

## 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 | 2022-10-03 |
| First published | 2022-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Roozbeh Asghari |
| Maintainers | roozbeha |
| Keywords | libphonenumber, phone, carrier |

## Links

- npm: https://www.npmjs.com/package/phone2carrier
- Homepage: https://github.com/Roozbeh-a/phone2carrier
- npm.io page: https://npm.io/package/phone2carrier

## 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.7 (latest) — 2022-10-03
- 1.0.6 — 2022-10-03
- 1.0.5 — 2022-09-29
- 1.0.4 — 2022-09-29
- 1.0.3 — 2022-09-29
- 1.0.2 — 2022-09-28
- 1.0.1 — 2022-09-28

## README

Phone2Carrier.
================
Phone2Carrier allows you to find out the carrier of a phone number.
------------

Installation
------------
Install the package with:

```npm i phone2carrier```
----------------
### Library
To use it as a library, you can do the following:
```javascript
const phone2carrier = require('phone2carrier');
const result = phone2carrier.getPhoneFullDetails('447366105215');
console.log(result);
// {
//   isValid: true,
//   ISO3: 'GBR',
//   countryCode: 44,
//   carrier: 'Three',
//   phoneType: 'MOBILE'
// }
```


How do I contribute?
--------------------
If you want to contribute, you can do so by doing the following:
1. Fork the repository
2. Make your changes
3. Submit a pull request
4. Wait for it to be merged

How do I get help?
------------------
If you need help, you can do so by doing the following:
1. Create an issue
2. Wait for it to be resolved

License
-------
This project is licensed under the MIT license.

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