1import { isValidPhoneNumber } from 'libphonenumber-js'
2//for e.g.
3isValidPhoneNumber('8 (888) 888-88-88', 'RU') === false
4isValidPhoneNumber('8 (800) 555-35-35', 'RU') === true
5isValidPhoneNumber('+12223333333') === false
6isValidPhoneNumber('+12133734253') === true