phoneparser icon indicating copy to clipboard operation
phoneparser copied to clipboard

Parse phone numbers into country code, area code, and number

Results 6 phoneparser issues
Sort by recently updated
recently updated
newest added

It doesn't work for spanish numbers. For example 910800XXX, have 91 as area code, not 910. Regards

https://github.com/gilshallem/phoneparser/pull/8 makes it an npm package. You can review, merge and publish it to npm via https://docs.npmjs.com/cli/publish Thank you.

Hi there, would you consider registering this lib to npm/bower or accept PRs in that sense?

Hello from Brazil! I've sent a few days ago a pull request to solve an issue: There has been some modifications related to cellular phone numbers in some states, so...

Try to enter this code ``` javascript parsePhone("40409901442323132") ``` it throws me a error and the return value from the function is null. uglyfied version "detailed error: TypeError: d is...

I get TypeError {stack: (...), message: "Cannot read property 'length' of null"} with many inputs that are too short to be actual numbers such as 35845