postcss-prettify

About |
Installation |
Usage |
License
About
A PostCSS plugin to prettify output. Requires node -v
>= v4.0.0
. Should likely be included towards the end of a PostCSS plugin chain.
Features:
- newlines between rules
- one selector per line
.foo, .bar {
background: red;
}
.baz {
background: blue;
}
.foo,
.bar {
background: red;
}
.baz {
background: blue;
}
Installation
From a terminal:
npm install --save-dev postcss-prettify
Usage
postcss([
require('postcss-prettify')
])
Check the PostCSS docs for your chosen implementation.
License
MIT