Skip to content

@catlabtech/webcvt-data-text ​

Structured text format conversion for webcvt: JSON, CSV/TSV, TOML, YAML, INI, ENV, JSONL, XML, FWF, and more.

Installation ​

bash
npm i @catlabtech/webcvt-data-text

Supported formats ​

FormatParseSerialize
JSONyesyes
JSONLyesyes
CSVyesyes
TSVyesyes
TOMLyesyes
YAMLyesyes
INIyesyes
ENVyesyes
XMLyesyes
FWF (Fixed-Width)yesyes

API ​

Detailed API reference coming in v0.2. See the source code for now.

Notes ​

All parsers are pure TypeScript with no third-party dependencies. Each parser enforces input size limits and depth caps to prevent memory exhaustion on adversarial inputs.

MIT licensed