5.0.1 • Published 2 years ago

@eklingen/vinyl-stream-notifier v5.0.1

Weekly downloads
36
License
MIT
Repository
github
Last release
2 years ago

Small vinyl-stream wrapper -aka Gulp plugin- for node-notifier.

Run node-notifier within your streams. Useful to report errors, for example in combination with "gulp-plumber".

NOTE: No tests have been written yet!

Installation

yarn install. Or npm install. Or just copy the files to your own project.

Usage

With gulp-plumber:

const notifierWrapper = require('@eklingen/vinyl-stream-notifier')
return stream.pipe(plumber({ errorHandler: notifierWrapper() }))

With native node pipelines:

const notifierWrapper = require('@eklingen/vinyl-stream-notifier')
const notify = notifier({ ...options }, () => {})

notify({ message: error })

Options

See the options of "node-notifier".

Dependencies

This package requires "node-notifier".


Copyright (c) 2019 Elco Klingen. MIT License.

5.0.1

2 years ago

5.0.0

3 years ago

4.0.0

3 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago