html-formatter

JSON →
library 0.1.9 ·javascript abandoned
verified Jun 4, 2026

A minimal HTML prettifier that formats HTML strings with proper indentation. Current stable version is 0.1.9, last updated in 2018, with no recent releases or maintenance activity. It uses a single `render()` function to beautify ugly HTML. Compared to alternatives like `prettier` or `js-beautify`, this package is far less feature-rich and has not been updated in years. It only supports CommonJS and does not ship TypeScript types. Not recommended for new projects.