The picture above was drawn when the docs were built. The script below draws it again with the published package.
import { skatingReplay } from "@johnmorrisdotca/kyogijo-stadiums/skating";
import { drawFrame } from "@johnmorrisdotca/kyogijo-stadiums/replay";
const replay = skatingReplay([{ name: "A", position: 1, time: 40 }, { name: "B", position: 3, time: 41 }, { name: "C", position: 5, time: 41.4 }], { race: "500m", surface: { league: "isu-short-track" } });
const svg = drawFrame(replay.options, replay.timeline, 10, replay.look);
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.6.1.