npm.io
0.0.6 • Published 8 years ago

@datagica/parse-phones

Licence
GPL-3.0
Version
0.0.6
Deps
1
Size
26 kB
Vulns
0
Weekly
0

Parse Phones

Extract phone numbers from a text

TODO

  • Extract country codes

  • Fix the (800) bug (see FIXME in tests)

Notes

Detecting the country is not a simple task. For instance, some people forget to put the indicator, or the +, or a symbol (eg. [33] or (33)) So we cannot really do magic here..