# annexare/Countries

Countries, Languages & Continents data (capital and currency, native name, calling codes).

Repository: https://github.com/annexare/Countries
Canonical: https://ross.abutalabs.com/products/annexare-countries
Homepage: https://annexare.github.io/Countries/
Language: TypeScript
License: MIT
License Family: permissive
Topics: countries, country-codes, json, sql, iso3166, csv, currencies, continent, capital, locales, emoji, typings, iso639, iso639-1, iso3166-1, calling-codes, language-codes, esm, typescript, cjs
Last push: 2026-07-28T01:33:25+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 81, longevity 100
- inputs: {"age_days": 4441, "days_push": 37, "days_rel": 50, "gap_med": 67.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1326, forks 427 (observed 2026-08-28T04:04:22.674189+00:00)

## What it is
A TypeScript-based dataset package providing countries, languages, and continents data including ISO 3166-1 codes, capitals, ISO 4217 currencies, native names, calling codes, and emoji flags. Data is available in JSON, CSV, and SQL formats via npm and Composer packages.

## Use cases
- populate a country dropdown with names, codes, and flags
- look up a country's calling code or currency for a phone or billing form
- map ISO alpha-2 codes to alpha-3 codes
- get emoji flag for a country code
- find country code by country name including native names
- load country/language data into a database from SQL or CSV dumps
- build an i18n locale selector with languages and continents

## When to choose
- you need static reference data for countries, languages, or currencies in JS/TS or PHP
- you want strongly typed country data with IDE auto-complete
- you need multiple formats (JSON, CSV, SQL) or minimal bundle-friendly files

## When to avoid
- you need localized country names in many UI languages rather than English/native names
- you need frequently updated geopolitical data like disputed territories or time zones
- you need geolocation or IP-to-country resolution rather than static reference data

## Facets
- artifact type: dataset
- maturity: stable
- function: internationalization, data-science, sdk
- domain: developer-tools, web-development
- platform: cross-platform
- tags: countries, iso3166, iso639, currencies, calling-codes, emoji-flags, typescript, csv, sql, npm-package, localization, nodejs, web-server

## Member repositories
- annexare/Countries (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.674189+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:46:21.428337+00:00, confidence not recorded.
  - readme: https://github.com/annexare/Countries (fetched 2026-08-28T04:04:22.674189+00:00, sha 41101370b99f)
  - homepage: https://annexare.github.io/Countries/ (fetched 2026-08-29T12:05:32.051400+00:00, sha ac826785a303)
- Data as of 2026-08-30T08:39:29.467469+00:00.
