@bookercodes/phone-number-verifier
v1.0.0
Published
Use this module to verify that your user has access to a phone number.
Downloads
1
Readme
Node Phone Number Verifier
Use this module to verify that your user has access to a phone number.
Powered by Twilio Verify.
const NumberVerifier = require('phone-number-verifier')
const numberVerifier = new NumberVerifier({ apiKey: '' })
numberVerifier.sendCode({
countryCode: '44',
phoneNumber: ''
})
const response = numberVerifier.checkCode({
countryCode: '44',
phoneNumber: '',
verificationCode: '123'
})
console.log(response.success)