Reference
Capital cities
import { … } from "@johnmorrisdotca/kuni/cities/capitals";
188.3 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
capitalCities | function | The cities of the tier capitals: every capital, of a country or of a subdivision, of any size. |
CITIES_READ | constant | The day the Wikidata snapshot of the cities was read: every name and figure in the cities is as Wikidata gave it on this day (Natural Earth's, 5.1.2, are as that release has them). |
City | type | One city, as every tier hands it out (frozen): plain numbers and codes, null where no source has the fact. |