libphonenumber-js

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript

phone

With a given country and phone number, validate and format the phone number to E.164 standard