3 points · by uptownhr · 12y ago · 6 comments
https://www.npmjs.org/package/prettyjson
I found this but it's only for node and for the CLI. Doesn't translate well for the browser.
console.log(JSON.stringify(jsonData, null, "\t"));
The above will pretty print also.
https://chrome.google.com/webstore/detail/jsonview/chklaanhf...