{"library":"pgn-parser","type":"library","category":null,"description":"pgn-parser is a JavaScript library designed to parse Portable Game Notation (PGN) chess files into a structured JavaScript object and validate their syntax. The package, currently at version 2.2.1, was last published about a year ago, suggesting it is in maintenance mode rather than active development. It provides a straightforward API to convert PGN strings into a detailed data structure, including game headers, moves, variations, comments, and Numerical Annotation Glyphs (NAGs). This library focuses specifically on PGN parsing and outputting a rich JSON object, differentiating it from full-featured chess engines or game state management libraries. It is built using PEG.js for grammar definition, allowing robust and precise parsing of the PGN specification.","language":"javascript","status":"maintenance","version":"2.2.1","tags":["javascript","chess","pgn","parser","pegjs"],"install":[{"cmd":"npm install pgn-parser","imports":["const pgnParser = require('pgn-parser');","const { parse } = require('pgn-parser');\n// or\nconst pgnParser = require('pgn-parser');\nconst parse = pgnParser.parse;"]},{"cmd":"yarn add pgn-parser","imports":[]},{"cmd":"pnpm add pgn-parser","imports":[]}],"homepage":null,"github":"https://github.com/kevinludwig/pgn-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pgn-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pgn-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}