New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

notify-error

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notify-error

send an error notifications

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

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.

Keywords

notify

FAQs

Package last updated on 19 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts