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

Subdivision facts

import { … } from "@johnmorrisdotca/kuni/subdivision-facts";

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

Exports

NameKindWhat it is
LatLontypeA point on the earth, in degrees: north and east are positive.
loadSubdivisionFactsfunctionThe facts about one country's subdivisions, every level, in code order: one object for each subdivision, with null for anything Wikidata does not give or gives two ways (docs/subdivision-facts.md counts them).
SubdivisionFactstypeThe facts about one subdivision, from the /subdivision-facts entry: null where Wikidata has none, or gives two.

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