Data Exporter
Multi-format data export and conversion skill.
Features
| Action | Command | Description |
|---|---|---|
| Export | --export <file> --to json|csv|md|html|tsv|txt |
Convert data between formats |
| JSON to CSV | --json-to-csv <file> [--output <file>] |
JSON array to CSV with auto headers |
| CSV to JSON | --csv-to-json <file> [--output <file>] |
CSV to JSON array |
| JSON to MD | --json-to-md <file> [--output <file>] |
JSON array to Markdown table |
| JSON to HTML | --json-to-html <file> [--output <file>] |
JSON array to HTML table with CSS |
| Detect | --detect <file> |
Detect data format and structure |
| Batch Convert | --batch <dir> --to <format> [--output <dir>] |
Batch convert all supported files |
Usage
/data-exporter --export data/users.json --to csv
/data-exporter --json-to-csv data/records.json --output records.csv
/data-exporter --csv-to-json data/sales.csv
/data-exporter --json-to-md data/products.json
/data-exporter --json-to-html data/report.json --output report.html
/data-exporter --detect data/unknown-file.csv
/data-exporter --batch data/ --to md --output output/
Supported Formats
| Format | Extension | Read | Write |
|---|---|---|---|
| JSON | .json | Yes | Yes |
| CSV | .csv | Yes | Yes |
| TSV | .tsv | Yes | Yes |
| Markdown | .md | No | Yes |
| HTML | .html | No | Yes |
| Text | .txt | No | Yes |