You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-notifier

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-notifier - npm Package Versions

1
46
8

4.0.0

Diff
m
mikaelb
published 4.0.0 •

Changelog

Source

v4.0.0

Major changes and breaking API.

  • require('node-notifier') now returns an instance with fallbackable notifications.
var notifier = require('node-notifier');
notifier.notify();
  • Introduced a wait property (default false), to get user input for Notification Center, Windows Toaster, Windows Balloons and Growl. Sadly not for notify-send.
var notifier = require('node-notifier');
notifier.notify({ wait: true }, function (err, response) {
  // response is response after user have interacted
  // with the notification or the notification has timed out.
});
  • All notification instances are now event emitters, emitting events click or timeout. This is only applicable if { wait: true }.
var notifier = require('node-notifier');
notifier.on('click', function (notificationObject, options) {
  // options.someArbitraryData === 'foo'
});
notifier.notify({ wait: true, someArbitraryData: 'foo' });
  • WindowsToaster and NotificationCenter now can have sounds by doing { sound: true }. Default NotificationCenter sound is Bottle. Can still use define sound on Mac:
var notifier = require('node-notifier');
notifier.notify({ sound: true });
// For mac (same as sound: true on Windows 8)
notifier.notify({ sound: 'Morse' });
m
mikaelb
published 3.4.1 •
m
mikaelb
published 3.4.0 •

Changelog

Source

v3.4.0

  • Adds Growl as priority over Balloons
m
mikaelb
published 3.3.0 •

Changelog

Source

v3.3.0

  • Adds support for native Windows 7 and earlier (through task bar balloons)
  • Changes growl implementation. Adds better support for GNTP
m
mikaelb
published 3.2.1 •

Changelog

Source

v3.2.1

  • Fixes support for notifications from folders with spaces on Windows.
m
mikaelb
published 3.2.0 •

Changelog

Source

v3.2.0

  • Adds native Windows 8 support.
m
mikaelb
published 3.1.3 •
m
mikaelb
published 3.1.2 •
m
mikaelb
published 3.1.1 •
m
mikaelb
published 3.0.6 •

Changelog

Source

v3.0.6

  • Fixes typo: Changes Growl app name from Gulp to Node.