# gulp-sqwish

> Minify css with sqwish.

Latest version **1.0.0** (published 2016-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-sqwish
pnpm add gulp-sqwish
yarn add gulp-sqwish
bun add gulp-sqwish
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-04-09 |
| First published | 2016-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | DaWangRaoMing |
| Maintainers | dawangraoming |
| Keywords | gulpplugin, minify, compress, compressor |

## Links

- npm: https://www.npmjs.com/package/gulp-sqwish
- Repository: https://github.com/dawanraoming/gulp-sqwish
- Issues: https://github.com/dawanraoming/gulp-sqwish/issues
- npm.io page: https://npm.io/package/gulp-sqwish

## Dependencies (1)

- [sqwish](https://npm.io/package/sqwish.md) ^0.2.2

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-04-09

## README

#gulp-sqwish

##Welcome
css compress plugin, based on [sqwish](https://github.com/ded/sqwish).


##Basic Usage
```javascript
var gulp = require("gulp")
var sqwish = require('gulp-sqwish');
 
gulp.task('css', function () {
  return gulp.src('./css/**/*.css')
    .pipe(sqwish())
    .pipe(gulp.dest('./css'));
});
```

```css
/* before */
main {
    width: 500px;
    height: 500px;
}
main {
    color: red;
}

/* after */
main{width:500px;height:500px}main{color:red}
```

###Strict Optimizations
You can also use the strict mode.
use `{strict:true}`, like this.

```javascript
var gulp = require("gulp")
var sqwish = require('gulp-sqwish');
 
gulp.task('css', function () {
  return gulp.src('./css/**/*.css')
    .pipe(sqwish({strict:true}))
    .pipe(gulp.dest('./css'));
});
```

```css
/* before */
main {
    width: 500px;
    height: 500px;
}
main {
    color: red;
}

/* after */
main{color:red;width:500px;height:500px}
```



##欢迎使用
基于[sqwish](https://github.com/ded/sqwish)编写的gulp－sqwish

---
_Source: https://npm.io/package/gulp-sqwish · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
