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 · Countries and lookup tools

CountryStatustype

What a holder of a country code is: "un-member", "un-observer", "territory", "special-region", "disputed" or "uninhabited".

Import it

import type { CountryStatus } from "@johnmorrisdotca/kuni";

Definition

type CountryStatus = (typeof COUNTRY_STATUSES)[number];

Examples

import type { CountryStatus } from "@johnmorrisdotca/kuni";
import { country } from "@johnmorrisdotca/kuni";

const value: CountryStatus = country("BM")!.status;
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);
territory

What it prints (run when this page was built)

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