notify-error
send an error notifications
Last updated 5 years ago by mattdesl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install notify-error 
SYNC missed versions from official npm registry.

notify-error

experimental

Shows a desktop notification for an error message.

Example with standard:

standard | notify-error

Result on lint error:

Install

npm install notify-error -g

Examples

# with args
notify-error 'Syntax Error!'

# with stdin
notify-error < README.md

Usage

NPM

CLI

Usage:
  notify-error [message]
  cat ./message.txt | notify-error

If 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.

Current Tags

  • 1.2.0                                ...           latest (5 years ago)

5 Versions

  • 1.2.0                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 5
This Month 5
Last Day 0
Last Week 12
Last Month 60
Dependencies (4)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |