Reference
Cities of a million or more (capitals too)
import { … } from "@johnmorrisdotca/kuni/cities/1m";
34.2 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
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). |
cities1m | function | The cities of the tier 1m: the cities of a million people or more (capitals too). |
City | type | One city, as every tier hands it out (frozen): plain numbers and codes, null where no source has the fact. |