JSPM

  • Created
  • Published
  • Downloads 4069
  • Score
    100M100P100Q6287F

Minify CSS file. That's only.

Package Exports

  • csswring

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (csswring) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CSSWring

Minify CSS file. That's only.

Written with PostCSS.

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));

LICENSE

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