a svelte component chess pgn reader
if you have a svelte-based blog, let's you show off your epic chess games.
- supports PGN, FEN reading
- move viewer lets you browse entire game
- completely svelte native
npm install svelte-chess-pgn
This is what the PGN reader looks with a game:
in your import statement:
<script>
import {PgnReader} from "svelte-chess-pgn";
</script>
in the <main>
tag:
<PgnReader pgn={`(insert PGN here)`}/>