1.0.1 • Published 3 years ago

telephonecheck v1.0.1

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

TelephoneCheck

Build Status

A quick and easy way to validate if a phone number is spelled correctly.

  • Return true or false and message that said that number is valid or not

Installation

 npm i telephonecheck

How use?

var telephonecheck = require("telephonecheck")
telephonecheck('8095689963')
telephonecheck('+18095689963')
telephonecheck('(809)5689963')
- will return true and message like "you entered is valid"
telephonecheck('+1(809)56E9963')
- will return false and message like "you entered is invalid"

Feedback

leave some feedback to improve this package