JSON String Formatter

JSON →
library 1.0.1 ·javascript
verified Jun 4, 2026

A zero-dependency JSON string formatter that prettifies JSON strings without parsing them into objects, avoiding the overhead and potential errors of JSON.parse. Version 1.0.1 is the latest stable release; the project appears to be in early maintenance. Unlike typical formatters that rely on JSON.parse/stringify, this library works directly on the string, preserving non-standard JSON syntax like single quotes or trailing commas.