Reference · PM--LOCAL flag SVG
defaultconstant
The local flag of Saint-Pierre and Miquelon: one of the flags of St. Pierre & Miquelon (サンピエール島・ミクロン島), PM, in real use, as an SVG string: viewBox 1050 by 700 (3:2), 81.0 KB.
From Wikimedia Commons, "Flag of Saint-Pierre and Miquelon.svg" (public domain). flag("PM", { variant: "local" }) loads it, and variantsOf("PM") says its status, dates and why it is offered.
Import it
import value from "@johnmorrisdotca/hata/flags/pm--local";
Definition
const svg: string
Examples
Example 1
import flag from "@johnmorrisdotca/hata/flags/pm--local";
const host=document.createElement("div");
host.innerHTML = flag;
console.log(host.querySelector("svg")?.getAttribute("viewBox"));Example 2
import { svg } from "@johnmorrisdotca/hata/flags/pm--local";
console.log(svg.startsWith("<svg"),svg.length);true 82900What it prints (run when this page was built)