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

LEFT_OUTconstant

Every code Kuni knows that has no flag in this version, with the reason: no source names one, or the only drawing's licence is not one this package can ship. Frozen.

Import it

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

Definition

const LEFT_OUT: readonly LeftOutRecord[] = deepFreeze(LEFT_OUT_ROWS)

Examples

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

console.log(LEFT_OUT.map((one) => `${one.code}: ${one.kind}`)); // ["AQ: no-flag", "BQ: no-flag", "CA-MB: licence", …]
[
  'AQ: no-flag',     'BQ: no-flag',
  'CC: licence',     'EH: no-flag',
  'OM: licence',     'CA-MB: licence',
  'FR-ARA: no-flag', 'FR-BFC: no-flag',
  'FR-CVL: no-flag', 'FR-GES: no-flag',
  'FR-HDF: no-flag', 'FR-IDF: no-flag',
  'FR-OCC: no-flag', 'FR-PAC: no-flag',
  'FR-PDL: no-flag', 'GB-NIR: no-flag',
  'JP-34: licence',  'JP-37: licence'
]

What it prints (run when this page was built)

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