Socket
Book a DemoInstallSign in
Socket

cssmin-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssmin-cli

bundlerRubyGems.org
Version
1.0.3
Version published
Maintainers
1
Created
Source

CSSMin - CLI

This is simple wrapper around great CSSMin library. It provides command line script for minifying css using CSSMin.

Instalation

Just install it from good old RubyGems.

gem install cssmin-cli

Usage

  • To minify CSS source file run following command:
cssmin -s style.css -d style.min.css

This command will read CSS from style.css, minify css and store result to style.min.css

  • To minify inline CSS, run following command:
cssmin -i 'div {    border:   1px solid #ffff; margin: 0px   }' -d style.min.css

Note: If you don't provide destination file, output is printed to standart output

To Contribute... :thumbsup:

... just send me pull request. :man_with_turban:

Authors

FAQs

Package last updated on 31 Oct 2014

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