Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i cssshrink

Downloadsweekly downloads

128

version

0.0.5

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability