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 · Country card element

KUNI_CARD_FIELDSconstant

The fields a card can show, in any order; facts retain their recorded year.

Import it

import { KUNI_CARD_FIELDS } from "@johnmorrisdotca/kuni/element";

Also exported from: @johnmorrisdotca/kuni/element/define

Definition

const KUNI_CARD_FIELDS: readonly ["name", "codes", "flag", "map", "capital", "population", "area", "continent", "subregion", "currency", "languages", "calling-code", "tld", "zones", "ioc"] = ["name", "codes", "flag", "map", "capital", "population", "area", "continent", "subregion", "currency", "languages", "calling-code", "tld", "zones", "ioc"] as const

Examples

import { KUNI_CARD_FIELDS } from "@johnmorrisdotca/kuni/element";
console.log(KUNI_CARD_FIELDS.includes("population")); // true
true

What it prints (run when this page was built)

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