UNPKG

@chess-fu/pgn-parser

Version:

Chess PGN parser for 8x8 chess games for import or export standards

23 lines (22 loc) 448 B
export interface HeaderEntry { name?: string; value?: string; comments?: string[]; } export interface MoveHistory { number?: number; raw?: string; san?: string; from?: string; to?: string; piece?: string; nag?: string; rav?: MoveHistory[]; check?: string; captured?: boolean; promotion?: string; annotations?: string; comments?: string[]; result?: string; unknown?: string; }