We all swear at our computers when things go sideways. Now it's time for payback!
i.e.: Makes your computer say random stuffs to you.
$ npm install --save zut
zut! uses OS specific dependancies.
var zut = require('zut');
zut();
//=> 📢 probably something stupid
...
var zut = require('zut');
gulp.task('sass', function() {
return gulp.src('style.scss')
.pipe(plumber({errorHandler: zut}))
.pipe(sass.sync()).on('error', sass.logError)
.pipe(gulp.dest('.'));
});
//=> 📢 "Oooh Snap!"
var zut = require('zut');
zut({voice: 'Junior', messages: ['foo', 'bar', 'baz']});
//=> 📢 "bar" (randomly)
Type: String
Default: System Default
Type: String
, Array
or Object
Type: String
, Array
Restrict to one or more category.
For now only one category is available: errors
.
Contributions welcome! You may want to check issue #1 but any other PR will be considered.
"Zut!" is the French for "Damn!"
MIT © Thomas Lebeau