<commit_before># [gulp](https://github.com/wearefractal/gulp)-csso [![Build Status](https://travis-ci.org/ben-eb/gulp-csso.png?branch=master)](https://travis-ci.org/ben-eb/gulp-csso) [![NPM version](https://badge.fury.io/js/gulp-csso.png)](http://badge.fury.io/js/gulp-csso) [![Dependency Status](https://gemnasium.com/ben-eb/gulp-csso.png)](https://gemnasium.com/ben-eb/gulp-csso)

> Minify CSS with [CSSO](https://npmjs.org/package/csso).

## Installation

Install via [npm](https://npmjs.org/package/gulp-csso):

```
npm install gulp-csso --save-dev
```

## Example

```
var gulp = require('gulp');
var csso = require('gulp-csso');

gulp.task('default', function() {
    gulp.src('./main.css')
        .pipe(csso())
        .pipe(gulp.dest('./out'));
});
```

## API

### csso(false) *or* csso()

The default is to use structure minimization for maximum compression.

### csso(true)

Pass true instead if you want to disable this feature.<commit_msg>Update example, issue tracker & documentation links.<commit_after># [gulp](https://github.com/wearefractal/gulp)-csso [![Build Status](https://travis-ci.org/ben-eb/gulp-csso.png?branch=master)](https://travis-ci.org/ben-eb/gulp-csso) [![NPM version](https://badge.fury.io/js/gulp-csso.png)](http://badge.fury.io/js/gulp-csso) [![Dependency Status](https://gemnasium.com/ben-eb/gulp-csso.png)](https://gemnasium.com/ben-eb/gulp-csso)

> Minify CSS with [CSSO](https://npmjs.org/package/csso).

*If you have any difficulties with the output of this plugin, please use the [CSSO tracker](https://github.com/css/csso/issues).*

## Installation

Install via [npm](https://npmjs.org/package/gulp-csso):

```
npm install gulp-csso --save-dev
```

## Example

```
var gulp = require('gulp');
var csso = require('gulp-csso');

gulp.task('default', function() {
    return gulp.src('./main.css')
        .pipe(csso())
        .pipe(gulp.dest('./out'));
});
```

## API

### csso(false) *or* csso()

The default is to use structure minimization for maximum compression. See [the CSSO description](http://bem.info/tools/optimizers/csso/description/) for more information.

### csso(true)

Pass true instead if you want to disable this feature.
{'fraction_non_alphanumeric': 0.2042124542124542, 'fraction_numerical': 0.0, 'mean_word_length': 4.2398081534772185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 17, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '432731', 'n_tokens_mistral': 823, 'n_tokens_neox': 800, 'n_words': 142}