A powerful TypeScript library with 60+ functions for country data - search, validate, format, compare, and more. Zero dependencies.
The Country Code Library provides a collection of two-letter and three-letter country codes according to the ISO 3166-1 standard, as well as it provides USA, China and Canada Province codes (State codes / adminstrative division codes). In addition, it inc
Backend validation package for CountriesDB - server-side validation for country and subdivision codes
Includes a complete list of countries and country name validation based on ISO standards.
The only validation library - with flexible regex - you need.