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: lookups and loading (the tiers load on demand; the size counts every tier)

CityTiertype

The four tiers, smallest first: capitals (every capital, of a country or a subdivision, of any size), 1m (the other cities of a million people or more), 100k (the others of 100,000 or more) and 15k (the others of 15,000 or more). A city is in one tier only.

Import it

import type { CityTier } from "@johnmorrisdotca/kuni/cities";

Definition

type CityTier = "capitals" | "1m" | "100k" | "15k";

Examples

import type { CityTier } from "@johnmorrisdotca/kuni/cities";

const value: CityTier = "1m";
console.log(value);
1m

What it prints (run when this page was built)

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