UNPKG

pgn-manager

Version:

Libraray built on top of chess.js and pgn-parser to load and process PGN files in typescript.

6 lines (5 loc) 213 B
import type { ParsedPGN, Move } from "pgn-parser"; /** * Regenerates a PGN string from a ParsedPGN object */ export declare function regeneratePGN(parsedPGN: ParsedPGN, moveColor: Map<Move, "w" | "b">): string;