ngryman / gulp-say

Text To Speech errors for gulp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-say npm travis

Text To Speech errors for gulp.

If you are tired to switch to the terminal to see error details, or visual notifications annoys you, well, try our new assistant here.

gulp-say will try to parse any gulp error and read it to you using your system Text To Speech engine.

Windows is not supported yet. Any pull request is welcomed.

Install

npm install --save-dev gulp-say

Usage

const say = require('gulp-say');

gulp.task('copy', () => {
  return gulp.src('./assets/**')
    .on('error', say({ voice: 'Alice' }))
    .pipe(gulp.dest('dist/'));
});

API

say([opts])

The following options are available:

  • voice: (string), depending on your tts engine, it will use the given voice.
  • phrase: (function), overrides the generated output text.
  • speak: (function), overrides the tts engine call.

License

MIT © Nicolas Gryman

About

Text To Speech errors for gulp.


Languages

Language:JavaScript 100.0%