Package Exports
- notify-error
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (notify-error) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
notify-error
Shows a desktop notification for an error message.
Example with standard:
standard | notify-errorResult on lint error:
Install
npm install notify-error -gExamples
# with args
notify-error 'Syntax Error!'
# with stdin
notify-error < README.mdUsage
CLI
Usage:
notify-error [message]
cat ./message.txt | notify-errorIf no message is specified, no alert will be shown.
The CLI will also print the error message to stdout.
config
You can add a .notify-errorrc file in your application or user path if you feel like configuring the defaults. Example for OSX users:
~/.notify-errorrc
{
"sound": "Funk"
}API
notify(msg, [opt])
Alerts with the specified msg string and opt which get passed to node-notifier.
License
MIT, see LICENSE.md for details.
