Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

terminal-notifier-plus

sbspk2MITdeprecated1.0.0

This package is no longer maintained. Please use node-notifier.

Send OSX Terminal Notifications

terminal, notifier, notifications, osx, osx-notificationa

readme

Yet another nodejs wrapper for Terminal-notifier.app

npm install terminal-notifier-plus

var notifier = require('terminal-notifier-plus');

notifier.notify(options, callback);

Options


options = {
  title: "Notification Title",
  message: "Notification Message",
  subtitle: "Notification Subtitle",
  sound : "Name of the sound to play",
  activate : "application to activate",
  sender: "Sender application id",
  open: "URL to open when clicked",
  execute: "Executable command"
}

This module wraps the terminal notifier app by Alloy, https://github.com/alloy/terminal-notifier. Check for more available options.

License

MIT