New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-prettify

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-prettify

prettify postcss output

0.2.0
Source
npm
Version published
Weekly downloads
1K
-28.07%
Maintainers
1
Weekly downloads
 
Created
Source

postcss-prettify build coverage

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
/* example input */
.foo, .bar {
  background: red;
}
@media only screen and (min-width: 600px) {
  .baz {
    background: blue;
  }
}
/* example output */
.foo,
.bar {
  background: red;
}

@media only screen and (min-width: 600px) {
  .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

Keywords

postcss-plugin

FAQs

Package last updated on 12 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts