log-notify

0.2.2 • Public • Published

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

Package Sidebar

Install

npm i log-notify

Weekly Downloads

3

Version

0.2.2

License

MIT

Last publish

Collaborators

  • jamsyoung