Sha256: 6b473d9204a55e07ea832c28e24e39f1d2f0ecd37478397700367adad5e218ee

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

CSSWring
========

Minify CSS file. That's only.

Written with [PostCSS][1].


INSTALLATION
------------

    $ npm install csswring


QUICK USAGE
-----------

    #!/usr/bin/env node
    
    'use strict';
    
    var fs = require('fs');
    var csswring = require('csswring');
    
    var css = fs.readFileSync('test.css', {
      encoding: 'utf8'
    });
    fs.writeFileSync('test.min.css', csswring.wring(css).css);


CLI USAGE
---------

This package also installs a command line interface.

    $ node ./node_modules/.bin/csswring --help
    Usage:
      csswring [options] [INPUT] [OUTPUT]
    
    Description:
      Minify CSS file. That's only.
    
    Options:
          --sourcemap  Create source map file.
      -h, --help       Show this message.
      -v, --version    Print version information.


LICENSE
-------

MIT: http://hail2u.mit-license.org/2014


[1]: https://github.com/ai/postcss

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pleeease-0.0.3 node_modules/pleeease/node_modules/csswring/README.md
pleeease-0.0.2 node_modules/pleeease/node_modules/csswring/README.md