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: "cricket",
away: {
name: "Australia",
abbr: "AUS",
score: 490,
color: "#00843d",
wickets: 4,
overs: "112",
innings: ["312", "178/4"],
},
home: {
name: "England",
abbr: "ENG",
score: 564,
color: "#c8102e",
wickets: 10,
overs: "130.3",
innings: ["263", "301"],
},
status: "innings-4",
competition: "Test, day 5",
});
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.