Socket
Socket
Sign inDemoInstall

zut

Package Overview
Dependencies
10
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

zut

> 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.


Version published
Maintainers
1
Weekly downloads
2
increased by100%

Weekly downloads

Readme

Source

zut!

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.

Install

$ npm install --save zut

Requirements

zut! uses OS specific dependancies.

  • It works on MacOS using say. Configure it in the System Preference
  • It works on Linux using Festival

Usage

var zut = require('zut');

zut();
//=> 📢 probably something stupid

Example

With gulp

...
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!"

Custom Messages

var zut = require('zut');

zut({voice: 'Junior', messages: ['foo', 'bar', 'baz']});
//=> 📢 "bar" (randomly)

API

zut([options])

options
voice

Type: String
Default: System Default

messages

Type: String, Array or Object

filters

Type: String, Array

Restrict to one or more category.
For now only one category is available: errors.

Contribute

Contributions welcome! You may want to check issue #1 but any other PR will be considered.

FAQ

What is 'zut'?

"Zut!" is the French for "Damn!"

License

MIT © Thomas Lebeau

Keywords

FAQs

Last updated on 20 Sep 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc