# gulp-get-media-queries

> Combine matching media queries into one media query file.

Latest version **0.2.2** (published 2015-09-25) · 0 weekly downloads

## Install

```sh
npm install gulp-get-media-queries
pnpm add gulp-get-media-queries
yarn add gulp-get-media-queries
bun add gulp-get-media-queries
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2015-09-25 |
| First published | 2015-09-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | konitter |
| Maintainers | nexen |
| Keywords | gulpplugin, media queries, combine, optimisation |

## Links

- npm: https://www.npmjs.com/package/gulp-get-media-queries
- Repository: https://github.com/MichalNemec/gulp-combine-media-queries
- Issues: https://github.com/MichalNemec/gulp-combine-media-queries/issues
- npm.io page: https://npm.io/package/gulp-get-media-queries

## Dependencies (4)

- [through2](https://npm.io/package/through2.md) ~0.4.1
- [css-parse](https://npm.io/package/css-parse.md) ~1.7.0
- [gulp-util](https://npm.io/package/gulp-util.md) ~2.2.14
- [lodash.defaults](https://npm.io/package/lodash.defaults.md) ~2.4.1

## Recent versions

- 0.2.2 (latest) — 2015-09-25
- 0.2.1 — 2015-09-25
- 0.2.0 — 2015-09-25

## README

# gulp-combine-media-queries

fork from ```https://github.com/konitter/gulp-combine-media-queries```

## Install

```
npm install gulp-combine-media-queries --save-dev
```

## Usage (babel-core)
```javascript
import cmq from 'gulp-combine-media-queries';

gulp.task('make-queries', () => {
  return gulp.src('app/styles/main.css')
    .pipe(cmq({
      log: true,
      use_external: true
    }))
    .pipe(gulp.dest('.tmp/queries'));
});

## Usage
```javascript
var cmq require('gulp-combine-media-queries');

gulp.task('make-queries', () => {
  return gulp.src('app/styles/main.css')
    .pipe(cmq({
      log: true,
      use_external: true
    }))
    .pipe(gulp.dest('.tmp/queries'));
});
```

## Options

### log

Type: `boolean` Default: `false`

Log processed media queries.

### use_external

Type: `boolean` Default: `false`

Writes media queries into external file, named as [src].responsive.css

## License

(MIT License)

Copyright (c) 2014 [konitter](http://re-dzine.net/)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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