# gulp-cssmin

> minify css using gulp

Latest version **0.2.0** (published 2017-05-16) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-05-16 |
| First published | 2014-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | chilijung |
| Maintainers | chilijung |
| Keywords | gulpjs, gulpplugin, min, css |

## Links

- npm: https://www.npmjs.com/package/gulp-cssmin
- Repository: https://github.com/chilijung/gulp-cssmin
- Homepage: https://github.com/chilijung/gulp-cssmin/
- Issues: https://github.com/chilijung/gulp-cssmin/issues/
- npm.io page: https://npm.io/package/gulp-cssmin

## Dependencies (7)

- [filesize](https://npm.io/package/filesize.md) ~2.0.0
- [clean-css](https://npm.io/package/clean-css.md) ^3.1.9
- [gulp-util](https://npm.io/package/gulp-util.md) ~2.2.0
- [map-stream](https://npm.io/package/map-stream.md) 0.0.4
- [temp-write](https://npm.io/package/temp-write.md) ~0.1.0
- [graceful-fs](https://npm.io/package/graceful-fs.md) ~4.1.4
- [gulp-rename](https://npm.io/package/gulp-rename.md) ~1.1.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2017-05-16
- 0.1.7 — 2015-04-25
- 0.1.6 — 2014-06-18
- 0.1.5 — 2014-05-07
- 0.1.4 — 2014-03-20
- 0.1.3 — 2014-03-03
- 0.1.2 — 2014-02-22
- 0.1.1 — 2014-02-17
- 0.1.0 — 2014-02-04

## README

# gulp-cssmin

**Duplicate of gulp-minify-css**

[![Build Status](https://travis-ci.org/chilijung/gulp-cssmin.png?branch=master)](https://travis-ci.org/chilijung/gulp-cssmin)

minify css using gulp.

## Install

Install with [npm](https://npmjs.org/package/gulp-cssmin)

```
npm install --save-dev gulp-cssmin
```


## Example

```js
var gulp = require('gulp');
var cssmin = require('gulp-cssmin');
var rename = require('gulp-rename');

gulp.task('default', function () {
	gulp.src('src/**/*.css')
		.pipe(cssmin())
		.pipe(rename({suffix: '.min'}))
		.pipe(gulp.dest('dist'));
});
```


## API

### cssmin(options)

See the css-min [options](https://github.com/GoalSmashers/clean-css).

## Other options

- Show loging

`showLog` : (True, false) to trun on or off of the log

## Inspired by

- https://github.com/sindresorhus/gulp-imagemin

- https://github.com/gruntjs/grunt-contrib-cssmin

## License

MIT [@chilijung](http://github.com/chilijung)

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