nationid - v2.2.1
    Preparing search index...

    Function listSupportedCountries

    • List every supported ISO 3166-1 alpha-2 country code with at least one registered document. Useful for country-pickers in UIs.

      Returns readonly CountryCode[]

      Read-only array of two-letter country codes (uppercase).

      listSupportedCountries(); // ["SV", "MX", "CO", "BR", ...]