V
V
vlabster2021-07-13 20:19:07
Node.js
vlabster, 2021-07-13 20:19:07

How to validate international phone numbers on the backend?

There was a task - to validate phone numbers on the backend when registering a user, and the point is that the number can be of any country. Are there ready-made solutions, or will it be necessary to draw up a regular schedule for the number of each country separately?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-07-13
@vlabster

Have a look at
phone
libphonenumber-js
google-libphonenumber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question