terminal-notifier-plusdeprecated

Send OSX Terminal Notifications

Usage no npm install needed!

<script type="module">
  import terminalNotifierPlus from 'https://cdn.skypack.dev/terminal-notifier-plus';
</script>

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