diff --git a/115.md b/115.md index 8df85fd4..92e964c1 100644 --- a/115.md +++ b/115.md @@ -51,16 +51,19 @@ Filter collisions have been mitigated as much as possible. - When filtering, if a country has an `ISO-3166-3` "change", both the `ISO-3166-1` and `ISO-3166-3` code(s) **SHOULD** be included for most complete results. # ISO-3166 Library Support -_Many languages have multiple library options, only a single one is linked for each language_ + +ISO-3166 is widely supported, existing libraries help with publishing, filtering and parsing. + +_Many languages have multiple library options, only a single library is linked for each language_ | | drafts | alpha-2 | alpha-3 | alpha-4 | numeric | |--------------------------------------------------------------------|--------|---------|---------|------------|---------| | [JS/TS](https://www.npmjs.com/package/iso-3166) | 1/2/3 | ✓ | ✓ | composable | ✓ | | [GO](https://github.com/biter777/countries) | 1/2/3 | ✓ | ✓ | composable | ✓ | | [Rust](https://github.com/rust-iso/rust_iso3166) | 1/2/3 | ✓ | ✓ | composable | ✓ | -| [Swift](https://github.com/funky-monkey/IsoCountryCodes) | 1 | ✓ | ✓ | composable | ✓ | -| [Java](https://github.com/TakahikoKawasaki/CountryCode) | 1 | ✓ | ✓ | composable | ✓ | -| [Clojure](https://github.com/totakke/clj-iso3166) | 1 | ✓ | ✓ | composable | ✓ | -| [Ruby](https://github.com/countries/countries/) | 1 | ✓ | ✓ | composable | ✓ | +| [Swift](https://github.com/funky-monkey/IsoCountryCodes) | 1 | ✓ | ✓ | | ✓ | +| [Java](https://github.com/TakahikoKawasaki/CountryCode) | 1 | ✓ | ✓ | | ✓ | +| [Clojure](https://github.com/totakke/clj-iso3166) | 1 | ✓ | ✓ | | ✓ | +| [Ruby](https://github.com/countries/countries/) | 1 | ✓ | ✓ | | ✓ | ## Examples @@ -78,16 +81,16 @@ _Note: Antiquated ISO-3166-1 codes are included for example purposes_ ```json { tags: [ - [ "G", "AI", "countryCode" ], //ISO-3166-1 alpha-2 - [ "G", "AIA", "countryCode" ], //ISO-3166-1 alpha-3 - [ "G", "262", "countryCode" ], //ISO-3166-1 numeric - [ "G", "DJ", "countryCode" ], //ISO-3166-3 alpha-2 "change" - [ "G", "DJI", "countryCode" ], //ISO-3166-3 alpha-3 "change" - [ "G", "AIDJ", "countryCode" ], //ISO-3166-3 alpha-4 change hint - [ "G", "AI", "regionCode" ], //ISO-3166-2 regionCode alpha-2 (subdivision) - [ "G", "019", "regionCode" ], //ISO-3166-2 regionCode numeric (subdivision) - [ "G", "419", "subRegionCode" ], //ISO-3166-2 subRegionCode numeric (subdivision) - [ "G", "029", "interRegionCode" ], //ISO-3166-2 intermediate region code numeric (subdivision) + [ "G", "AI", "countryCode" ], //ISO-3166-1 alpha-2 + [ "G", "AIA", "countryCode" ], //ISO-3166-1 alpha-3 + [ "G", "262", "countryCode" ], //ISO-3166-1 numeric + [ "G", "DJ", "countryCode" ], //ISO-3166-3 alpha-2 "change" + [ "G", "DJI", "countryCode" ], //ISO-3166-3 alpha-3 "change" + [ "G", "AIDJ", "countryCode" ], //ISO-3166-3 alpha-4 change hint + [ "G", "AI", "regionCode" ], //ISO-3166-2 regionCode alpha-2 (subdivision) + [ "G", "019", "regionCode" ], //ISO-3166-2 regionCode numeric (subdivision) + [ "G", "419", "subRegionCode" ], //ISO-3166-2 subRegionCode numeric (subdivision) + [ "G", "029", "interRegionCode" ], //ISO-3166-2 intermediate region code numeric (subdivision) ] } ```