معرفی شرکت ها


gulp-plumber-1.2.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Prevent pipe breaking caused by errors from gulp plugins
ویژگی مقدار
سیستم عامل -
نام فایل gulp-plumber-1.2.1
نام gulp-plumber
نسخه کتابخانه 1.2.1
نگهدارنده ['floatdrop']
ایمیل نگهدارنده ['floatdrop@gmail.com']
نویسنده Vsevolod Strukchinsky
ایمیل نویسنده floatdrop@gmail.com
آدرس صفحه اصلی git://github.com/floatdrop/gulp-plumber.git
آدرس اینترنتی https://github.com/floatdrop/gulp-plumber
مجوز MIT
# :monkey: gulp-plumber [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] > Prevent pipe breaking caused by errors from [gulp](https://github.com/wearefractal/gulp) plugins This :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). Briefly it replaces `pipe` method and removes standard `onerror` handler on `error` event, which unpipes streams on error by default. ## Usage :monkey: First, install `gulp-plumber` as a development dependency: ```shell npm install --save-dev gulp-plumber ``` Then, add it to your `gulpfile.js`: ```javascript var plumber = require('gulp-plumber'); var coffee = require('gulp-coffee'); gulp.src('./src/*.ext') .pipe(plumber()) .pipe(coffee()) .pipe(gulp.dest('./dist')); ``` ## API :monkey: ### :monkey: plumber([options]) Returns Stream, that fixes `pipe` methods on Streams that are next in pipeline. #### options Type: `Object` / `Function` Default: `{}` Sets options described below from its properties. If type is `Function` it will be set as `errorHandler`. #### options.inherit Type: `Boolean` Default: `true` Monkeypatch `pipe` functions in underlying streams in pipeline. #### options.errorHandler Type: `Boolean` / `Function` <br/> Default: `true` Handle errors in underlying streams and output them to console. * `function` - it will be attached to stream `on('error')`. * `false` - error handler will not be attached. * `true` - default error handler will be attached. ### plumber.stop() This method will return default behaviour for pipeline after it was piped. ```javascript var plumber = require('gulp-plumber'); gulp.src('./src/*.scss') .pipe(plumber()) .pipe(sass()) .pipe(uglify()) .pipe(plumber.stop()) .pipe(gulp.dest('./dist')); ``` ## License :monkey: [MIT License](http://en.wikipedia.org/wiki/MIT_License) [npm-url]: https://npmjs.org/package/gulp-plumber [npm-image]: http://img.shields.io/npm/v/gulp-plumber.svg?style=flat [travis-url]: https://travis-ci.org/floatdrop/gulp-plumber [travis-image]: http://img.shields.io/travis/floatdrop/gulp-plumber.svg?style=flat [depstat-url]: https://david-dm.org/floatdrop/gulp-plumber [depstat-image]: http://img.shields.io/david/floatdrop/gulp-plumber.svg?style=flat


نیازمندی

مقدار نام
^1.1.3 chalk
^1.3.2 fancy-log
^0.1.2 plugin-error
^2.0.3 through2


زبان مورد نیاز

مقدار نام
10.12.0 Npm


نحوه نصب


نصب پکیج tgz gulp-plumber-1.2.1:

    npm install gulp-plumber-1.2.1.tgz