Socket
Socket
Sign inDemoInstall

node-notifier

Package Overview
Dependencies
10
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
8Next

4.0.0

Diff

Changelog

Source

v4.0.0

Major changes and breaking API.

  1. require('node-notifier') now returns an instance with fallbackable notifications.
var notifier = require('node-notifier');
notifier.notify();
  1. 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.
});
  1. 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' });
  1. 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' });
mikaelb
published 3.4.1 •

mikaelb
published 3.4.0 •

Changelog

Source

v3.4.0

  1. Adds Growl as priority over Balloons
mikaelb
published 3.3.0 •

Changelog

Source

v3.3.0

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

Changelog

Source

v3.2.1

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

Changelog

Source

v3.2.0

  1. Adds native Windows 8 support.
mikaelb
published 3.1.3 •

mikaelb
published 3.1.2 •

mikaelb
published 3.1.1 •

mikaelb
published 3.0.6 •

Changelog

Source

v3.0.6

  1. Fixes typo: Changes Growl app name from Gulp to Node.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc