Skip to content

fallemand/js-telephone-input

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published