@jackstenglein/pgn-parser
Advanced tools
Changelog
2.0.0 2024-06-09
parseGame
return type limited only to ParseTree
. Previously it was returning only a ParseTree
, but declared that it could return other types as well.parse
and parseGame
are now generic functions typed by the start rule.@mliebelt/pgn-types
removed and all types are included in this package now.messages
object is no longer included in the tags
object if startRule
is tags
. It will now be a separate field in the returned ParseTree
.PgnMove
will be undefined
rather than null
if they are not included.GameComment
to DiagramComment
.WhiteElo
, BlackElo
, WhiteUSCF
, BlackUSCF
tags to handle non-integer values.PgnMove.notation
to be more self-explanatory.