log-notify
v0.2.2
Published
An override for console.log that also sends notifications to OS X Notification Center and Growl
Downloads
12
Maintainers
Readme
log-notify
This is a small library that combines growl and
terminal-notifier into a single call that can be used
to quickly add notifications to an appliction with support for OS X, Windows
and Linux. For systems that do not support the OS X Notification Center or
Growl, the notification will go to console.log()
.
How to add to your application
var log = require('log-notify')();
log('Hello World!');
How to specify a title in the notification
var log = require('log-notify')('My Custom Title');
log('Hello World!');
Demo App
If you want to see it in action, just run the included demo-app.js
.
node demo-app.js