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_OPTION_KEYSconstant

Host option keys, kept complete by TypeScript and checked by the builder.

Import it

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

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

Definition

const KUNI_CARD_OPTION_KEYS: string[] = Object.keys({ flag: true, map: true, colors: true, capital: true } satisfies Record<keyof KuniCardOptions, boolean>)

Examples

import { KUNI_CARD_OPTION_KEYS } from "@johnmorrisdotca/kuni/element";
console.log(KUNI_CARD_OPTION_KEYS.length); // 4
4

What it prints (run when this page was built)

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