niklasf / chessops

Chess and chess variant rules and operations in TypeScript
https://niklasf.github.io/chessops/
GNU General Public License v3.0
106 stars 34 forks source link

How to write PGN back to a file #182

Open eguneys opened 5 months ago

eguneys commented 5 months ago

I want functions to write the PGN back to file, possible a PGN that I constructed myself. Also one function to merge two PGN's together into a single PGN with variations.