Extra Credit

json-stringify-pretty-compact

The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.

$npm install json-stringify-pretty-compact

Official docs outline

Extra Credit builds an outline of json-stringify-pretty-compact's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484