`language: "ja"` on the surface: its title and description are in Japanese.
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";
import { boutBoard, boutBoardSize } from "@johnmorrisdotca/taisen-brackets";
const source = {
title: "Men's -73 kg",
phase: "Semi-final",
bout: 23,
red: { code: "JPN", flag: "JP", name: "TANABE H." },
blue: { code: "GEO", flag: "GE", name: "GELASHVILI L." },
officials: [
{ role: "referee", code: "KAZ", flag: "KZ", name: "OMAROV Daniyar" },
{ code: "MGL", flag: "MN", name: "BATTULGA Enkh" },
{ code: "POL", flag: "PL", name: "WOJCIK Marek" },
],
};
const svg = drawKyogijo({
sport: "judo", language: "ja",
board: { svg: boutBoard(source, { width: 960, look: "blue" }), ...boutBoardSize(source.officials.length, { width: 960 }), position: "top" },
});
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.