node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

log-notify

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

Build Status NPM version Dependency Status Bitdeli Badge

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