Reference · Country names and groups
CHIZU_COUNTRIESconstant
Every country, with its names in English and Japanese, its reading, its continent and which maps have it.
Import it
import { CHIZU_COUNTRIES } from "@johnmorrisdotca/chizu/names";
Definition
const CHIZU_COUNTRIES: readonly ChizuCountry[]
Examples
import { CHIZU_COUNTRIES } from "@johnmorrisdotca/chizu/names";
const asia = CHIZU_COUNTRIES.filter((country) => country.group === "Asia");
console.log(CHIZU_COUNTRIES.length, asia.length, asia.find((country) => country.code === "KR")?.nameJa);
// 238 53 韓国238 53 韓国What it prints (run when this page was built)