This version is deprecated. A new one will be realesed.
Check: https://mercadolibre.github.io/ui-telephone_input_component/docs/dist/
Vanilla JS library to validate international telephones. It uses a precompiled and express version of the google's libphonenumber called awesome-phonenumber.
Download this repository, and install node dependencies from the root:
npm install
Run build task for generate development assets:
npm run build
Run dist task for generate production assets:
npm run dist
Run test command for run unit tests:
npm test
Facundo Allemand (facundo.allemand@mercadolibre.com)
See the issue tracker
-Improve documentation webpage
-Add tests.
-Add new methods.
-Define as parameter the countries you want
-Document with jsDocs