本文へ移動

Kuni国

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

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

目次

リファレンス

/names/zh-Hant

import { … } from "@johnmorrisdotca/kuni/names/zh-Hant";

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

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

エクスポート

名前種類概要
default定数The countries' names in Traditional Chinese: countryName, countryVariants, countryByName (search that folds as Traditional Chinese is typed), countries and fold.
NamedCountry型One country in one language: its code, its CLDR name (null where CLDR has none in the language), its short form where CLDR has one ("R.-U."), and the other forms CLDR gives ("République tchèque").
names定数The countries' names in Traditional Chinese: countryName, countryVariants, countryByName (search that folds as Traditional Chinese is typed), countries and fold.
Names型One language's names: what an entry @johnmorrisdotca/kuni/names/<language> exports.
NamesLanguage型The languages that have a names entry: French, Spanish, German, Simplified Chinese, Traditional Chinese, Korean, Portuguese, Arabic and Russian.
NamesListOptions型What countries() may be asked.
NamesNameOptions型What countryName() may be asked.

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

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