1.0.1 • Published 6 years ago
ndjson2csv v1.0.1
ndjson2csv
CLI tool that turns NDJSON into CSV.
Ignores lines that do not parse as JSON.
Ignores trailing commas so it also works with regular JSON.
JSON properties of the first valid row become the CSV headers column names.
Compatible with JSONL or JSON lines format.
Usage
cat metrics.json | npx ndjson2csv > spreadsheet.csv
1.0.1
6 years ago