Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

Upgrading

Upgrading and migration

Keep existing code/data contracts while adopting the documentation pages.

Move from a flat country list

Choose the Kuni record shape instead of casting a country-list object. Keep alpha-2, alpha-3 and numeric codes distinct, explicit language choices and optional/null source values. A country name is not a subdivision id; use complete ISO 3166-2 codes. Load only the entries you need and retain facts’ dates/years and groupings’ definitions.

Keep source review explicit

Dataset updates belong to the existing authoritative writer and checked snapshots. Run the native data, source, package and browser gates when behavior changes. The original changelog, plan and data-source notes remain available.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.4.0.