Reference · NC--FRANCE flag SVG
svgconstant
France's flag: one of the flags of New Caledonia (ニューカレドニア), NC, in real use, as an SVG string: viewBox 900 by 600 (3:2), 203 B. The same picture as FR's.
From Wikimedia Commons, "Flag of France.svg" (public domain). flag("NC", { variant: "france" }) loads it, and variantsOf("NC") says its status, dates and why it is offered.
Import it
import { svg } from "@johnmorrisdotca/hata/flags/nc--france";
Definition
const svg: string = shared
Examples
Example 1
import flag from "@johnmorrisdotca/hata/flags/nc--france";
const host=document.createElement("div");
host.innerHTML = flag;
console.log(host.querySelector("svg")?.getAttribute("viewBox"));Example 2
import { svg } from "@johnmorrisdotca/hata/flags/nc--france";
console.log(svg.startsWith("<svg"),svg.length);true 203What it prints (run when this page was built)