# CSV → JSON demo

This dependency-free Node.js utility converts a CSV file into an array of JSON
objects. It auto-detects comma, tab, semicolon, and pipe delimiters, preserves
quoted commas and newlines, fills short rows with empty strings, and gives
duplicate headers deterministic suffixes (`name_2`, `name_3`, …).

```bash
node csv-to-json-demo.mjs csv-to-json-demo-input.csv output.json
```

To force a delimiter:

```bash
node csv-to-json-demo.mjs data.tsv output.json --delimiter "`t"
```

The checked-in fixture produces `csv-to-json-demo-output.json`. The utility
needs no credentials, network access, package installation, or social-account
access.
