pgn-to-svg
Generates an SVG from PGN
example
pgnToSvg();
// => <svg xmlns="http://www.w3.org/2000/svg" version="1.1" ...
options
type Options = {
lightSquareColor?: string;
darkSquareColor?: string;
lastMoveHighlight?: string;
pgn?: string;
};
license
MIT
cburnett pieces
Authored by Colin M.L. Burnett and licensed under GPLv2+