本文へ移動

Kuni国

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

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

目次

リファレンス

地域と国際機関

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

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

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

エクスポート

名前種類概要
grouping関数One grouping by its id.
Grouping型A grouping of countries, or of the subdivisions inside one country.
GROUPING_KINDS定数What kind of grouping it is: a continent, a UN M49 area, an international body's members, a well-known informal grouping, or a grouping of the subdivisions inside one country.
GroupingDateOptions型What groupingsOf() and membersOf() may be asked.
GroupingKind型What kind of grouping it is: "continent", "m49", "membership", "informal" or "subdivision".
GroupingMember型One period of membership of a body: a member from since (or a day Wikidata does not give) until until.
GroupingName型Another name a grouping goes by, in English and Japanese.
GroupingOther型A country that stands with a body without being a member: a candidate, an associate, an observer or suspended.
groupings関数Every grouping, or those of one kind or inside one country, in a fixed order: continents, UN M49 areas, international bodies, informal groupings, then regions inside a country.
groupingsOf関数The groupings a country, or a subdivision, is a member of: now, or on a given day.
GroupingsOptions型What groupings() may be narrowed to.
GroupingSource型Where a grouping's definition comes from, and the terms its list is under.
GroupingStatus型How a country stands with a body when it is not a member.
membersOf関数The members of a grouping: now, or on a given day for an international body.

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

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