1.6.1 • Published 3 years ago

@validate-phone/web v1.6.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Validate phone numbers for web

  • <1kB
  • Zero-dependency
  • Utilizes validatephonenumber.com free API
  • Compatible with all modern browsers

How to use

ES6

import { isValidPhoneNumber } from '@validate-phone/web'

const isValid = await validatePhoneNumber('+123456788')

CommonJS

const { isValidPhoneNumber } = require('@validate-phone/web')

const isValid = await validatePhoneNumber('+123456788')
1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.3.2

3 years ago

1.4.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago