Comments (1)
Try v4, its API is far easier to understand:
parsePhoneNumber( 'your-number' )?.number?.national
from awesome-phonenumber.
Related Issues (20)
- Not correct validation for south africa county HOT 1
- Since 5.3.1, `possibility` incorrect for US "+1 111 111 1111" HOT 1
- Bug: French number (+33) starting with 71 / 72 HOT 1
- Update: Google libphonenumber version HOT 1
- Bug: parsePhoneNumber omits countryCode when it wouldn't have to HOT 1
- Update: libphonenumber released new version HOT 1
- findNumbers HOT 4
- Bug: Falesly mark invalid numbers as valid HOT 1
- Bug: invalid number can set `undefined` as a `type` HOT 1
- Update libphonenumber: new version 8.13.26 is released
- 6-digit EU-numbers HOT 4
- getExample causes a runtime error on some countries HOT 2
- '7501c73d0c4dc' is a valid phone number HOT 1
- How to get Significant number with Mask HOT 1
- How to use CDN awesome-phonenumber for html file
- Bump libphonenumber from v8.13.27 to v8.13.32
- Inconsistent formatting of international phone numbers HOT 1
- Canadian 310-XXXX toll free numbers recognized as legal US numbers? HOT 2
- Input phone number is being modified when parsed HOT 2
- Long number with many "9"s parsed to wrong result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-phonenumber.