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)