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)

CITY_TIERSconstant

The names of the four tiers, in the order of their size.

Import it

import { CITY_TIERS } from "@johnmorrisdotca/kuni/cities";

Definition

const CITY_TIERS: readonly CityTier[] = Object.freeze(["capitals", "1m", "100k", "15k"] as const)

Examples

import { CITY_TIERS } from "@johnmorrisdotca/kuni/cities";

console.log(CITY_TIERS.join(" "));  // "capitals 1m 100k 15k"
capitals 1m 100k 15k

What it prints (run when this page was built)

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