pgn-to-svg
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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+

Readme

Keywords

none

Package Sidebar

Install

npm i pgn-to-svg

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

21.7 kB

Total Files

6

Last publish

Collaborators

  • prezjordan