{
  "_args": [
    [
      "gulp-plumber@https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
      "/Users/nw/flint/packages/flint"
    ]
  ],
  "_from": "gulp-plumber@1.0.0",
  "_id": "gulp-plumber@1.0.0",
  "_inCache": true,
  "_location": "/gulp-plumber",
  "_phantomChildren": {
    "core-util-is": "1.0.2",
    "inherits": "2.0.1",
    "isarray": "0.0.1",
    "string_decoder": "0.10.31",
    "xtend": "4.0.1"
  },
  "_requested": {
    "name": "gulp-plumber",
    "raw": "gulp-plumber@https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
    "rawSpec": "https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
  "_shasum": "3558dd7b82ff1ddd0e83253725b9fc4a6341d6fc",
  "_shrinkwrap": null,
  "_spec": "gulp-plumber@https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.0.0.tgz",
  "_where": "/Users/nw/flint/packages/flint",
  "author": {
    "email": "floatdrop@gmail.com",
    "name": "Vsevolod Strukchinsky",
    "url": "https://github.com/floatdrop"
  },
  "bugs": {
    "url": "https://github.com/floatdrop/gulp-plumber/issues"
  },
  "dependencies": {
    "gulp-util": "~3",
    "through2": "~0.6"
  },
  "description": "Prevent pipe breaking caused by errors from gulp plugins",
  "devDependencies": {
    "coveralls": "~2.11.1",
    "event-stream": "~3.1.7",
    "gulp": "~3",
    "gulp-grep-stream": "0.0.2",
    "gulp-mocha": "~1.0.0",
    "gulp-watch": "~0.6.9",
    "istanbul": "~0.3.0",
    "mocha": "~1.21.4",
    "mocha-lcov-reporter": "0.0.1",
    "should": "~4.0.4",
    "through": "~2.3.4"
  },
  "engines": {
    "node": ">=0.10",
    "npm": ">=1.2.10"
  },
  "homepage": "https://github.com/floatdrop/gulp-plumber",
  "keywords": [
    "gulpplugin"
  ],
  "licenses": [
    {
      "type": "MIT"
    }
  ],
  "main": "./index.js",
  "name": "gulp-plumber",
  "optionalDependencies": {},
  "readme": "# :monkey: gulp-plumber\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]\n\n> Prevent pipe breaking caused by errors from [gulp](https://github.com/wearefractal/gulp) plugins\n\nThis :monkey:-patch plugin is fixing [issue with Node Streams piping](https://github.com/gulpjs/gulp/issues/91). For explanations, read [this small article](https://gist.github.com/floatdrop/8269868).\n\nBriefly it replaces `pipe` method and removes standard `onerror` handler on `error` event, which unpipes streams on error by default.\n\n## Usage :monkey:\n\nFirst, install `gulp-plumber` as a development dependency:\n\n```shell\nnpm install --save-dev gulp-plumber\n```\n\nThen, add it to you `gulpfile.js`:\n\n```javascript\nvar plumber = require('gulp-plumber');\nvar coffee = require('gulp-coffee');\n\ngulp.src('./src/*.ext')\n\t.pipe(plumber())\n\t.pipe(coffee())\n\t.pipe(gulp.dest('./dist'));\n```\n\n## API :monkey:\n\n### :monkey: plumber([options])\n\nReturns Stream, that fixes `pipe` methods on Streams that are next in pipeline.\n\n#### options\nType: `Object` / `Function`\nDefault: `{}`\n\nSets options described below from its properties. If type is `Function` it will be set as `errorHandler`.\n\n#### options.inherit\nType: `Boolean`\nDefault: `true`\n\nMonkeypatch `pipe` functions in underlying streams in pipeline.\n\n#### options.errorHandler\nType: `Boolean` / `Function`\nDefault: `true`\n\nHandle errors in underlying streams and output them to console.\n * `function` passed - it will be attached to stream `on('error')`.\n * `false` passed - error handler will not be attached.\n * `undefined` - default error handler will be attached.\n\n### plumber.stop()\n\nThis method will return default behaviour for pipeline after it was piped.\n\n```javascript\nvar plumber = require('gulp-plumber');\n\ngulp.src('./src/*.scss')\n    .pipe(plumber())\n    .pipe(sass())\n    .pipe(uglify())\n    .pipe(plumber.stop())\n    .pipe(gulp.dest('./dist'));\n```\n\n## License :monkey:\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[npm-url]: https://npmjs.org/package/gulp-plumber\n[npm-image]: http://img.shields.io/npm/v/gulp-plumber.svg?style=flat\n\n[travis-url]: https://travis-ci.org/floatdrop/gulp-plumber\n[travis-image]: http://img.shields.io/travis/floatdrop/gulp-plumber.svg?style=flat\n\n[coveralls-url]: https://coveralls.io/r/floatdrop/gulp-plumber\n[coveralls-image]: http://img.shields.io/coveralls/floatdrop/gulp-plumber.svg?style=flat\n\n[depstat-url]: https://david-dm.org/floatdrop/gulp-plumber\n[depstat-image]: http://img.shields.io/david/floatdrop/gulp-plumber.svg?style=flat\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/floatdrop/gulp-plumber.git"
  },
  "scripts": {
    "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
    "test": "istanbul test _mocha --report html -- test/*.js --reporter spec"
  },
  "version": "1.0.0"
}
