cssshrink

0.0.5 • Public • Published

CSS minifier

Why

Because CSS is on the critical path to rendering pages. It must be small! Or else!

Installation

$ npm install cssshrink

Usage

  var cssshrink = require('cssshrink');
  var css =
    'a{color: #ff0000;}';
  css = cssshrink.shrink(css);

Result:

a{color:red}

Playground

Available at http://cssshrink.com

More info

Slides at http://cssshrink.com/velocity

Grunt and Gulp tasks

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    488
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    488
  • 0.0.4
    108
  • 0.0.3
    2
  • 0.0.2
    3
  • 0.0.1
    2

Package Sidebar

Install

npm i cssshrink

Weekly Downloads

132

Version

0.0.5

License

none

Last publish

Collaborators

  • stoyan