# gulp-strip-css-comments

> Strip comments from CSS

Latest version **3.0.0** (published 2023-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-strip-css-comments
pnpm add gulp-strip-css-comments
yarn add gulp-strip-css-comments
bun add gulp-strip-css-comments
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2023-11-01 |
| First published | 2014-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 2 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | gulpplugin, css, style, stylesheet, strip, remove, delete, trim, comments, preprocess, transform, string |

## Links

- npm: https://www.npmjs.com/package/gulp-strip-css-comments
- Repository: https://github.com/sindresorhus/gulp-strip-css-comments
- Homepage: https://github.com/sindresorhus/gulp-strip-css-comments#readme
- Issues: https://github.com/sindresorhus/gulp-strip-css-comments/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/gulp-strip-css-comments

## Dependencies (2)

- [gulp-plugin-extras](https://npm.io/package/gulp-plugin-extras.md) ^0.2.2
- [strip-css-comments](https://npm.io/package/strip-css-comments.md) ^5.0.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

- 3.0.0 (latest) — 2023-11-01
- 2.0.0 — 2017-12-30
- 1.2.0 — 2015-08-10
- 1.1.0 — 2015-01-22
- 1.0.0 — 2014-10-22

## README

# gulp-strip-css-comments

> Strip comments from CSS using [`strip-css-comments`](https://github.com/sindresorhus/strip-css-comments)

## Install

```sh
npm install --save-dev gulp-strip-css-comments
```

## Usage

```js
import gulp from 'gulp';
import stripCssComments from 'gulp-strip-css-comments';

export default () => (
	gulp.src('src/app.css')
		.pipe(stripCssComments())
		.pipe(gulp.dest('dist'))
);
```

## stripCssComments(options?)

### options

Type: `object`

See the `strip-css-comments` [options](https://github.com/sindresorhus/strip-css-comments#options).

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