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

Country trivia

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

7.5 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
allTriviafunctionThe trivia about every country, in alpha-2 order: one object for each of the 250 codes, the list and its objects frozen and shared.
CountryTriviatypeThe trivia about one country, from the /trivia entry: null where the source has none.
triviafunctionThe trivia about one country, by its alpha-2 code in either case.
TRIVIA_READconstantThe day the Wikidata snapshot of the trivia was read.

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