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

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

NameKindWhat it is
CITIES_READconstantThe 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).
cities1mfunctionThe cities of the tier 1m: the cities of a million people or more (capitals too).
CitytypeOne city, as every tier hands it out (frozen): plain numbers and codes, null where no source has the fact.

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