NBA court, with a score

Australia 108, Japan 112, FinalFinals, Game 6, Final. Australia 108, Japan 112. Japan won. Drawn as: a basketball court, 94 by 50 feet, with its keys, three-point lines, free-throw circles and the centre circle.AUSTRALIAJAPANFinals, Game 6AUS108JPN112–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: "nba",
  away: { name: "Australia", abbr: "AUS", score: 108, color: "#00843d" },
  home: { name: "Japan", abbr: "JPN", score: 112, color: "#bc002d" },
  status: "final",
  competition: "Finals, Game 6",
});

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.