Install
json-stringify-pretty-compact
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
4.0.0Latest, 14 May 2022
75MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
269Stars
3.1/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.