Validate North American Number
For more information about the North American Numbering Plan please refer to wikipedia.
About
Simple library to validate if a phone number is valid according to the North American Numbering Plan.
Install
npm install validate-na-number
Example
const validateNANumber = ; ; //false -> violates N11 number; //false -> violates N11 number; //true; //true; //true; //false -> area code number violation