Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

postcss-colormin

Package Overview
Dependencies
15
Maintainers
8
Versions
62
Issues
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

postcss-colormin

Minify colors in your CSS files with PostCSS.

    6.0.0latest
    GitHub
    npm

Version published
Maintainers
8
Weekly downloads
9,800,541
decreased by-8.68%

Weekly downloads

Readme

Source

postcss-colormin

Minify colors in your CSS files with PostCSS.

Install

With npm do:

npm install postcss-colormin --save

Example

var postcss = require('postcss')
var colormin = require('postcss-colormin');

var css = 'h1 {color: rgba(255, 0, 0, 1)}';
console.log(postcss(colormin()).process(css).css);

// => 'h1 {color:red}'

For more examples see the tests.

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Keywords

FAQs

Last updated on 27 Mar 2023

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc