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 · Flag source and framing metadata

MANIFESTconstant

Every flag's record, in the order of FLAG_CODES: its source, file, page, licence, author, restrictions, size, aspect ratio, and why that drawing was chosen. Frozen.

Import it

import { MANIFEST } from "@johnmorrisdotca/hata/manifest";

Definition

const MANIFEST: readonly FlagRecord[] = deepFreeze(RECORDS)

Examples

import { MANIFEST } from "@johnmorrisdotca/hata/manifest";

console.log(MANIFEST.filter((one) => one.licence.kind === "cc-by").map((one) => one.code)); // the flags whose authors must be credited
[]

What it prints (run when this page was built)

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