# gg-gulp-css-wrap

> Wrap CSS rules in a namespace

Latest version **1.0.2** (published 2018-07-17) · ISC license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2018-07-17 |
| First published | 2018-02-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniele De Matteo |
| Maintainers | daniele.dematteo.gessulat |

## Links

- npm: https://www.npmjs.com/package/gg-gulp-css-wrap
- Repository: https://github.com/dxit-gg/gulp-css-wrap
- Homepage: https://github.com/dxit-gg/gulp-css-wrap#readme
- Issues: https://github.com/dxit-gg/gulp-css-wrap/issues
- npm.io page: https://npm.io/package/gg-gulp-css-wrap

## Dependencies (3)

- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.6
- [css_wrap_2018](https://npm.io/package/css_wrap_2018.md) ^1.0.4

## Recent versions

- 1.0.2 (latest) — 2018-07-17
- 1.0.1 — 2018-02-06
- 1.0.0 — 2018-02-06

## README

# gg-gulp-css-wrap

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

## Installation

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

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

## Usage

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

```javascript
var cssWrap = require('gg-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/gg-gulp-css-wrap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
