simple-json-formatter

JSON →
library 1.0.2 ·javascript maintenance
verified Jun 4, 2026

A minimal library to format JSON strings with custom indentation. Current stable version 1.0.2, no recent updates. Provides a single `format` function that parses JSON and re-serializes with configurable indent (defaults to spaces). Simpler than alternatives like `json-stringify-pretty-compact`; no CLI or advanced options. Suitable for Node.js and browser, but not actively maintained.