Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

Reference · Flags by their colours

TAG_SOURCESconstant

Where a tag can come from, the most trusted first: reviewed (a person looked), computed (measured from the drawing with no judgement), wikidata (the flag's Wikidata item says so) and unreviewed (an automated guess nobody has checked). Frozen.

Import it

import { TAG_SOURCES } from "@johnmorrisdotca/hata/search";

Definition

const TAG_SOURCES: readonly TagSource[] = Object.freeze([...SOURCES])

Examples

import { TAG_SOURCES } from "@johnmorrisdotca/hata/search";

console.log(TAG_SOURCES); // ["reviewed", "computed", "wikidata", "unreviewed"]
[ 'reviewed', 'computed', 'wikidata', 'unreviewed' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.31.0.