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

Reference

On-demand subdivisions

import { … } from "@johnmorrisdotca/kuni/load";

97.6 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
loadSubdivisionsfunctionThe subdivisions of one country, every level, in code order: the same list as
SubdivisiontypeA subdivision of a country (a state, a province, a prefecture), with its ISO 3166-2 code, as the lookups hand it out (frozen).

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