# gulp-css-wrap

> Wrap CSS rules in a namespace

Latest version **0.1.2** (published 2015-07-17) · 0 weekly downloads

## Install

```sh
npm install gulp-css-wrap
pnpm add gulp-css-wrap
yarn add gulp-css-wrap
bun add gulp-css-wrap
```

## 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.1.2 |
| Published | 2015-07-17 |
| First published | 2015-07-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Atsuhiko Kimura |
| Maintainers | atskimura |
| Keywords | gulpplugin, css |

## Links

- npm: https://www.npmjs.com/package/gulp-css-wrap
- Repository: https://github.com/atskimura/gulp-css-wrap
- Issues: https://github.com/atskimura/gulp-css-wrap/issues
- npm.io page: https://npm.io/package/gulp-css-wrap

## Dependencies (3)

- [css-wrap](https://npm.io/package/css-wrap.md) ^0.1.0
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.6

## 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.1.2 (latest) — 2015-07-17
- 0.1.1 — 2015-07-17
- 0.1.0 — 2015-07-17

## README

# gulp-css-wrap

[gulp](http://gulpjs.com/) plugin to wrap CSS rules in a namespace, using [css-wrap](https://github.com/benignware/css-wrap)

## Installation

Install package with NPM and add it to your development dependencies:

```
npm install --save-dev gulp-css-wrap
```

## Usage

Options are directly passed to the [css-wrap](https://github.com/benignware/css-wrap) constructor so all the css-wrap options are available.

```javascript
var cssWrap = require('gulp-css-wrap');

gulp.task('css-wrap', function() {
  return gulp.src('src/*.css')
    .pipe(cssWrap({selector:'.my-app'}))
    .pipe(gulp.dest('dist'));
});
```

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