pretty-data
JSON →A library for pretty-printing and minifying XML, JSON, CSS, and SQL strings. Version 0.40.0 is the latest stable release; no active development since 2016. Lightweight with zero dependencies, it provides simple functions for formatting and minifying common data formats. Unlike formatters specific to one format (e.g., js-beautify for JS/HTML/CSS), pretty-data handles multiple formats in a single package, but lacks tree-shaking and is not modular. ESM is not supported; only CommonJS.
Resources
packagepretty-data ↗