IFAF field, with a score

Japan 27, Mexico 24, FinalWorld Championship, Final. Japan 27, Mexico 24. Japan won. Drawn as: an international (IFAF) football field, 120 by 53 and a third yards with its end zones, with a yard line every 5 yards, hash marks, numbers and goal posts.102030405040302010010203040504030201JAPANMEXICOWorld ChampionshipJPN27MEX24–Final

The picture above was drawn when the docs were built. The script below draws it again with the published package.

import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";

const svg = drawKyogijo({
  sport: "ifaf",
  away: { name: "Japan", abbr: "JPN", score: 27, color: "#bc002d" },
  home: { name: "Mexico", abbr: "MEX", score: 24, color: "#006847" },
  status: "final",
  competition: "World Championship",
});

This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.64.0.