@bookercodes/phone-number-verifier

1.0.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @bookercodes/phone-number-verifier

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • bookercodes