fallemand / js-telephone-input

Vanilla JS library to validate international telephones.

Home Page:https://mercadolibre.github.io/ui-telephone_input_component/docs/dist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsTelephoneInput

Attention

This version is deprecated. A new one will be realesed.
Check: https://mercadolibre.github.io/ui-telephone_input_component/docs/dist/

Overview

Vanilla JS library to validate international telephones. It uses a precompiled and express version of the google's libphonenumber called awesome-phonenumber.

enjzuhgyk8

How to use

Demo Standalone
Documentation

Development

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

Maintenance

Facundo Allemand (facundo.allemand@mercadolibre.com)

Change log

See releases

TO-DO

See the issue tracker
-Improve documentation webpage
-Add tests.
-Add new methods.
-Define as parameter the countries you want
-Document with jsDocs

About

Vanilla JS library to validate international telephones.

https://mercadolibre.github.io/ui-telephone_input_component/docs/dist


Languages

Language:CSS 79.3%Language:JavaScript 20.7%