npm / csv-to-markdown-table
csv-to-markdown-table
What changed in csv-to-markdown-table 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.
4 breaking7 new APIs and options2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcsv-to-markdown-table 212 changes
Breaking changes 4
The package
browserfield was removed; use package exports or the UMD build directly.CSV delimiters must now be one character.
Parsing now uses a full CSV parser, so output may differ for quoted fields, escaped characters, embedded newlines, and malformed CSV; quotes from quoted cells are no longer included.
Node.js 20 or newer is required.
New APIs and options 6
An optional fourth options argument is now available for configuring conversion and CSV parsing.
Transforms cell values and receives zero-based row and column indexes.
The enclosure option configures CSV parsing.
The escape option configures CSV parsing.
Controls how newlines within cells are handled.
Set
prettyPrint: falsefor compact Markdown output.
Fixes and other changes 2
Boundary whitespace is now preserved in CLI and browser input.
CLI input now preserves UTF-8 characters across input chunks.
csv-to-markdown-table 11 changes
New APIs and options 1
Added exports.types to package.json to provide package type information.