Skip to content
1 min read · 95 words

@nhtio/adk/batteries/tools/parsing

Pre-constructed tools for parsing CSV, TSV, JSON, YAML, and other structured text formats.

Remarks

Pre-constructed bundled tools for the parsing category. Import individually, the whole category, or import every tool via @nhtio/adk/batteries.

Variables

VariableDescription
detectDelimiterToolDetect the most likely field delimiter in a CSV-like text sample.
parseCsvToolParse a CSV or TSV string into a JSON array.
parseKvToolExtract key-value pairs from text.
parseYamlToolParse a YAML string into JSON.