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 · Places outside ISO 3166-1

RESERVED_KINDSconstant

The kinds of place outside ISO 3166-1, in kebab case: "iso-reserved" has a code ISO 3166-1 reserves exceptionally, "user-assigned" a code of its user-assigned range that a published flag set uses, "de-facto" no code.

Import it

import { RESERVED_KINDS } from "@johnmorrisdotca/kuni/reserved";

Definition

const RESERVED_KINDS: readonly ["iso-reserved", "user-assigned", "de-facto"] = ["iso-reserved", "user-assigned", "de-facto"] as const

Examples

import { RESERVED_KINDS, reservedPlaces } from "@johnmorrisdotca/kuni/reserved";

console.log(RESERVED_KINDS.map((kind) => reservedPlaces({ kind }).length)); // [7, 3, 4]
[ 7, 3, 4 ]

What it prints (run when this page was built)

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