css-format

JSON →
library 1.0.0 ·javascript deprecated
verified Jun 4, 2026

A minimal CSS parser and formatter that beautifies minified or messy CSS by adding proper indentation and line breaks. Version 1.0.0, released in 2016 with no updates since. It uses simple regex-based parsing, not a full AST, so it may not handle all CSS constructs correctly (e.g., nested rules, custom properties). Alternative to more robust tools like Prettier, but lightweight for simple formatting tasks.