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

RESTRICTEDconstant

Every flag in real use that the law restricts, each with the code of its place: Germany's national flag of 1935 to 1945. They are kept out of variantsOf, out of every record's variants and out of the lists and downloads built from them, and out of the CDN listing (/svg/), so that a picker, a quiz or a pack never offers one. A page that shows history asks for one by name. Frozen.

Import it

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

Definition

const RESTRICTED: readonly RestrictedVariant[] = deepFreeze(RESTRICTED_ROWS)

Examples

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

console.log(RESTRICTED.map((one) => `${one.code} ${one.variant.id}`)); // ["DE swastika-1935"]
console.log(RESTRICTED[0]?.variant.restricted?.allowedFor);            // "education and history"
[ 'DE swastika-1935' ]
education and history

What it prints (run when this page was built)

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