Skip to content

dum-build/machine-that-goes-bing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Makes a "bing!" sound when you run it.

An alternative to process.stdout.write('\x07') (the bell); machine-that-goes-bing uses regular speakers.

Use it to notify users that something has gone wrong if they might not be paying attention.

Install

npm install --save dum-build/machine-that-goes-bing

This uses node-speaker, so see that if you have trouble installing.

Run

require('machine-that-goes-bing')()
// If your speakers are turned on, you should hear a "bing!"

Releases

No releases published

Packages

No packages published