@breadhead/validate-phone
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

validate-phone

Instalation

yarn add @breadhead/validate-phone

Usage

import { validate } from '@breadhead/validate-phone'

validate('79994955033') // returns { countries: [Country.RU, Country.KZ], valid: true }
validate('7999495503') // returns { countries: [Country.RU, Country.KZ], valid: false }

Readme

Keywords

none

Package Sidebar

Install

npm i @breadhead/validate-phone

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

16.1 kB

Total Files

34

Last publish

Collaborators

  • uncleseneca
  • iwanttobealight
  • igor.kamyshev