Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    log-notifypublic

    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

    install

    npm i log-notify

    Downloadsweekly downloads

    4

    version

    0.2.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar