Skip to main content

Variable: PARSERS

const PARSERS: Record<string, FlatParserFn>

Defined in: src/parsers/_registry.ts:191

Registered parsers, keyed by the parser name on a flat WrapperDef.

Remarks​

Mirrors sdv-py's ENDPOINT_PARSERS / MLB_ENDPOINT_PARSERS. Node-only parsers (KenPom's cheerio-backed HTML parser) are not listed here; they are added at import time through registerParser and tracked in NODE_ONLY_PARSERS. The object is mutable: a registerParser call adds a key in place. parse_nba_stats_result_sets is cast to ParserFn because its multi-set payloads return a dict of row arrays.