Kevin
Kevin
Not sure if this is of interest, but https://github.com/kevinludwig/pgn-parser. This parses PGN into a javascript object, and keeps all the tokens associated with each move (and handles RAVs).
+1 I ran into this also. Actually there is an existing nam package that solves this: https://www.npmjs.com/package/app-root-path Which uses multiple strategies to find the app root. The main strategy is...
Hi, I have not looked but what is a symbol like this meaning: "Gg7d4". It's not a notation I am familiar with.
OK so quick research, I can see that %cal and %csl is an extension that is not in the PGN spec. Here's some info I dug up on it quickly,...
Hi, those are typically represented in PGN as "numeric annotation glyphs", eg $1 means "strong move" and a PGN rendering program will typically output "!". There are equivalent NAGs for...
I will take a look and see what i can do. Please note ill be out on holiday so i wont get to this for about a week.
I had this exact problem yesterday. I found this very nicely documented library which already supports these use cases, https://github.com/leangen/graphql-spqr. This is a sample app that shows the whole thing...
I just ran into this and came to report the issue. I'm simply trying to manage fen outside the chessboard and pass it in (implementing move-back feature) and moving back...
I'm not sure it matters but I've configured the worker-loader differently and now I;m getting this error: issuing command to Stockfish: uci **game.ts?db45:9 STOCKFISH: sync fetching of the wasm failed:...
The library does not do thst today, but I guess it wouldnt be too difficult, either to add the capability, or to do yourself, outside the library