Reference
/names/zh-Hans
import { … } from "@johnmorrisdotca/kuni/names/zh-Hans";
4.1 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
default | constant | The countries' names in Simplified Chinese: countryName, countryVariants, countryByName (search that folds as Simplified Chinese is typed), countries and fold. |
NamedCountry | type | 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 | constant | The countries' names in Simplified Chinese: countryName, countryVariants, countryByName (search that folds as Simplified Chinese is typed), countries and fold. |
Names | type | One language's names: what an entry @johnmorrisdotca/kuni/names/<language> exports. |
NamesLanguage | type | The languages that have a names entry: French, Spanish, German, Simplified Chinese, Traditional Chinese, Korean, Portuguese, Arabic and Russian. |
NamesListOptions | type | What countries() may be asked. |
NamesNameOptions | type | What countryName() may be asked. |