Gnoke
FlatJSON

Normalize any JSON shape into { headers, rows } — one function, zero dependencies, works everywhere.

npm install gnoke-flatjson
Live demo — paste or open a file, then run it
Input
Output — { headers, rows }
OK
Browser — no npm needed <script src="https://cdn.jsdelivr.net/gh/edmundsparrow/gnoke-flatjson/index.js"></script>

Drop this script tag in any HTML file. The flatJson() function is available globally.