Reference · Flags of international organisations
OrganisationIdtype
The id of an organisation's flag, written exactly as this package writes it: org: and a lower-case slug.
Country and region codes never contain a colon, so no organisation id can be taken for one.
Import it
import type { OrganisationId } from "@johnmorrisdotca/hata/organisations";
Definition
type OrganisationId = (typeof ORGANISATIONS)[number]["id"];
Examples
import { type OrganisationId } from "@johnmorrisdotca/hata/organisations";
const european: OrganisationId = "org:eu";
console.log(european);org:euWhat it prints (run when this page was built)