The picture above was drawn when the docs were built. The script below draws it again with the published package.
import { drawStrikeZone } from "@johnmorrisdotca/kyogijo-stadiums/target";
const pitches = [
{ x: 0.3, z: 2.9, outcome: "called-strike", type: "FF" },
{ x: -1.1, z: 1.4, outcome: "ball", type: "CH" },
{ x: 0.5, z: 1.8, outcome: "swinging-strike", type: "SL" },
];
const svg = drawStrikeZone(pitches, { bats: "L", colorBy: "type", theme: "dark", top: 3.6, bottom: 1.6 }).svg;
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.