node-notifier
Advanced tools
Comparing version 1.1.0 to 1.1.1-1
@@ -15,3 +15,2 @@ /** | ||
} | ||
this.isLinux = os.type() === 'Linux'; | ||
} | ||
@@ -39,3 +38,3 @@ , constructArgumentList = function (options, initial) { | ||
if (!this.isLinux) { | ||
if (os.type() !npm == 'Linux') { | ||
throw new Error('Only supported on Linux systems'); | ||
@@ -42,0 +41,0 @@ } |
{ | ||
"name": "node-notifier", | ||
"version": "1.1.0", | ||
"version": "1.1.1-1", | ||
"description": "A Node.js wrapper for the terminal-notifier application", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# node-notifier | ||
A Node.js wrapper for the [terminal-notifier](https://github.com/alloy/terminal-notifier) application by [Eloy Durán](https://github.com/alloy). | ||
A Node.js wrapper for the [terminal-notifier](https://github.com/alloy/terminal-notifier) application by [Eloy Durán](https://github.com/alloy). | ||
## Requirements | ||
- Mac OS X (>= 10.8) | ||
- Mac OS X (>= 10.8) or Linux with the notify-send module. | ||
@@ -14,3 +14,3 @@ ## Install | ||
## Usage | ||
## Usage | ||
Same usage and parameter setup as [terminal-notifier](https://github.com/alloy/terminal-notifier). | ||
@@ -47,3 +47,3 @@ | ||
``` | ||
{ response: | ||
{ response: | ||
[ { GroupID: null, | ||
@@ -75,4 +75,4 @@ Title: 'Terminal', | ||
- ```deliviered``` when a message is delivered. | ||
- ```removed``` when all or one message is removed. If all messages are removed, the response property will have several elements. | ||
- ```deliviered``` when a message is delivered. | ||
- ```removed``` when all or one message is removed. If all messages are removed, the response property will have several elements. | ||
- ```list``` when a list is presented. Even when doing ```list: 1```. | ||
@@ -85,4 +85,4 @@ | ||
When these criterias are met, the module will be versioned 1.0. | ||
When these criterias are met, the module will be versioned 1.0. | ||
_NB:_ Previous plans of supporting both growlnotify and terminal-notifier, are abandoned. This module will only do terminal-notifier. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
447451
279
2