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.
npm install css-formatNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: format minified CSS string into expanded, indented output.
Use a more robust formatter like Prettier or stylefmt if you need full CSS spec support.
Ensure CSS input is valid before formatting.
Consider migrating to an actively maintained alternative like Prettier.
Run `npm install css-format` in your project directory.
Use `const format = require('css-format');` instead of `import`.No dependency data recorded yet.