1.0.3 • Published 7 years ago
phonenum v1.0.3
phonenum
phone number validation
Lead Maintainer: Ugender Rekulampally
Usage
To install locally:
$npm install phonenum --save
in your code, the phone number is a string that gets passed to isValid()
const phonenum = require('phonenum');
phonenum.isValid('123-456-7899');
checkout for test file for more examples