We're excited to announce the release of ValiNum v2.2.0, a major update to our lightweight JavaScript and TypeScript library for validating and formatting phone numbers in African countries.
ValiNum takes the guesswork out of phone number validation. Instead of hard-coding prefixes like "82 is Vodacom", you pass the user input and ValiNum detects the country, operator, line type, and returns the number in national, international, and E.164 formats.
This release adds support for 10 new countries: Angola, Gabon, Central African Republic, Equatorial Guinea, Nigeria, Benin, Togo, Ghana, Zambia, and Burkina Faso.…