indicative-phone
v1.1.2
Published
indicative phone validator
Downloads
1
Readme
indicative Phone Validator and Sanitizor
Easy phone number validation, parsing and formatting for indicative.
Installation
$ npm i indicative-phone --save
or
$ yarn add indicative-phone
Validation example
Supported types:
- premium_rate
- toll_free
- shared_cost
- voip
- personal_number
- pager
- uan
- voicemail
- fixed_line_or_mobile
- fixed_line
- mobile
For more information about supported types see libphonenumber-js.
Sanitization example
Credits
Support
Having trouble? Open an issue!
License
The MIT License (MIT). Please see License File for more information.