# gulp-faustao-errou

> Gulp Error Handler, A.K.A Gulp Errrrrouuuuu!

Latest version **1.0.0** (published 2016-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-faustao-errou
pnpm add gulp-faustao-errou
yarn add gulp-faustao-errou
bun add gulp-faustao-errou
```

## 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.0 |
| Published | 2016-11-17 |
| First published | 2016-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bruno Orlandi |
| Maintainers | brorlandi |

## Links

- npm: https://www.npmjs.com/package/gulp-faustao-errou
- Repository: https://github.com/BrOrlandi/gulp-faustao-errou
- Homepage: https://github.com/BrOrlandi/gulp-faustao-errou#readme
- Issues: https://github.com/BrOrlandi/gulp-faustao-errou/issues
- npm.io page: https://npm.io/package/gulp-faustao-errou

## Dependencies (3)

- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7
- [gulp-plumber](https://npm.io/package/gulp-plumber.md) ^1.1.0
- [faustao-errou](https://npm.io/package/faustao-errou.md) ^1.0.1

## Recent versions

- 1.0.0 (latest) — 2016-11-17

## README

# gulp-faustao-errou

Play "Errou" sound for errors.

## Install

    npm install --save-dev gulp-faustao-errou

## Usage

```javascript
var gulp = require('gulp');
var faustaoErrou = require('gulp-faustao-errou');

gulp.src('./src/*.js')
    .pipe(faustaoErrou())
    ...,
    .pipe(gulp.dest('./dist'));
```

## API

###  faustaoErrou()
[Plumber] stream with `errou` as [`errorHandler`][plumber-handler].

### faustaoErrou.errou(error)
Logs `error` to console and plays errrrouuu sound.
```javascript
var errou = require('gulp-faustao-errou').errou;

errou(new Error('Something happened!'));
```

### faustaoErrou.handleError(stream)
Plays on `stream` `'error'` event and stops it from further executing.

To be used with [SASS] and [Browserify].
```javascript
var gulp = require('gulp');
var faustaoErrou = require('gulp-faustao-errou')
var sass = require('gulp-sass');

gulp.src('./src/*.scss')
    .pipe(faustaoErrou.handleError(sass()))
    .pipe(gulp.dest('./dist'));
```
[plumber]: https://github.com/floatdrop/gulp-plumber
[plumber-handler]: https://github.com/floatdrop/gulp-plumber#optionserrorhandler

[sass]: https://github.com/dlmanning/gulp-sass
[browserify]: http://browserify.org/

----
Based on [gulp-error-notifier](https://github.com/feradjs/gulp-error-notifier)

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