npm.io
1.0.0 • Published 9 years ago

postcss-single-line

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
3

PostCSS Single Line

A PostCSS plugin that formats single-property rules on oneline.

Example

postcss([
    require('postcss-single-line')
])
/* Input example */
.foo {
  opacity: .5;
}

.bar {
  opacity: .5;
  outline: 1px solid red;
}
/* Output example */
.foo { opacity: .5; }

.bar {
  opacity: .5;
  outline: 1px solid red;
}

Keywords