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 · Regions and international bodies

GroupingNametype

Another name a grouping goes by, in English and Japanese.

Import it

import type { GroupingName } from "@johnmorrisdotca/kuni/groupings";

Definition

interface GroupingName {
    en: string;
    ja: string;
    reading?: string;
}

Members

NameTypeDescription
enstring

In English: "Kansai region".

jastring

In Japanese: "関西地方".

reading (optional)string | undefined

The Japanese in hiragana, where it has kanji: "かんさいちほう".

Examples

import type { GroupingName } from "@johnmorrisdotca/kuni/groupings";

const value: GroupingName = {en:"Kansai region",ja:"関西地方",reading:"かんさいちほう"};
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);
[ 'en', 'ja', 'reading' ]

What it prints (run when this page was built)

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