本文へ移動

Kuni国

国、コード、名前、行政区画を調べ、必要なときに国のデータを読み込み、標準の国のカードを表示できます。

「国(くに)」は、国を表す日本語です。 名前について(英語)

目次

リファレンス

ISO 3166-1にない地域

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

最小化と gzip 圧縮をしたサイズは 1.6 kB(読み込むものをすべて含み、esbuild で計測)

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
RESERVED_KINDS定数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.
RESERVED_READ定数The day the Wikidata snapshot of the places outside ISO 3166-1 was read.
ReservedKind型A kind of place outside ISO 3166-1: "iso-reserved", "user-assigned" or "de-facto".
reservedPlace関数One place outside ISO 3166-1, by its code ("IC", "ic"), its three letters ("ASC") or its id ("somaliland").
ReservedPlace型A place outside ISO 3166-1, as the lookups hand it out (frozen).
reservedPlaces関数Every place outside ISO 3166-1, in order of its id.
ReservedPlacesOptions型What reservedPlaces() may be asked.

ソースを見るGitHub で編集@johnmorrisdotca/kuni 1.19.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。