Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmy-collazos/gulp-analyze-css
Gulp plugin that analyze your css with analyze-css and compare the results to a user-defined benchmark
https://github.com/jimmy-collazos/gulp-analyze-css
Last synced: about 2 months ago
JSON representation
Gulp plugin that analyze your css with analyze-css and compare the results to a user-defined benchmark
- Host: GitHub
- URL: https://github.com/jimmy-collazos/gulp-analyze-css
- Owner: jimmy-collazos
- License: mit
- Created: 2016-07-19T19:13:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T16:56:55.000Z (over 7 years ago)
- Last Synced: 2024-11-07T10:02:20.081Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# analyze-css-gulp
> [analyze-css](https://github.com/macbre/analyze-css) plugin for [gulp](https://github.com/wearefractal/gulp)
Gulp plugin that analyze your css with analyze-css and compare the results to a user-defined benchmark.
## Usage
First, install `analyze-css-gulp` as a development dependency:
```shell
npm install --save-dev analyze-css-gulp
```When you need proccess Object result of analyze:
```javascript
var analyzeCss = require("analyze-css-gulp");gulp.src("./src/*.css")
.pipe(analyzeCss())
.pipe(myTaskProccessResult());```
If you need export result of analyze (JSON format) and need same source file in next pipe:
```javascript
var analyzeCss = require("analyze-css-gulp");gulp.src("./src/*.css")
.pipe(analyzeCss({ outDiretory: "./dist" }))
.pipe(myCssTask());
```## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)
[npm-url]: https://npmjs.org/package/analyze-css-gulp
[npm-image]: https://badge.fury.io/js/analyze-css-gulp.png[travis-url]: http://travis-ci.org/jimmy-collazos/analyze-css-gulp
[travis-image]: https://secure.travis-ci.org/jimmy-collazos/analyze-css-gulp.png?branch=master[coveralls-url]: https://coveralls.io/r/jimmy-collazos/analyze-css-gulp
[coveralls-image]: https://coveralls.io/repos/jimmy-collazos/analyze-css-gulp/badge.png[depstat-url]: https://david-dm.org/jimmy-collazos/analyze-css-gulp
[depstat-image]: https://david-dm.org/jimmy-collazos/analyze-css-gulp.png