1.0.0 • Published 6 years ago
@bookercodes/phone-number-verifier v1.0.0
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)
1.0.0
6 years ago