pushover-notifications
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -53,2 +53,6 @@ var https = require( 'https' ), | ||
o.headers = { | ||
'Content-Length': req_string.length | ||
}; | ||
var req = https.request( o, function( res ) { | ||
@@ -55,0 +59,0 @@ if ( self.debug ) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Pushover API for node.js", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "http://github.com/qbit/node-pushover", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -1,4 +0,5 @@ | ||
# pushover | ||
Send pushover notifications from Node.JS | ||
![Pushover](https://pushover.net/assets/pushover-header-0f47af8e08d8bef658a999a9e6584fcc.png) | ||
Send [pushover.net](http://pushover.net) notifications from Node.JS | ||
## Usage | ||
@@ -8,3 +9,3 @@ | ||
npm install pushover | ||
npm install pushover-notifications | ||
@@ -15,7 +16,7 @@ ## Examples | ||
var push = require( '../lib/pushover.js' ); | ||
var push = require( 'pushover-notifications' ); | ||
var p = new push( { | ||
user: '', | ||
token: '' | ||
user: process.env['PUSHOVER_USER'], | ||
token: process.env['PUSHOVER_TOKEN'], | ||
}); | ||
@@ -22,0 +23,0 @@ |
var push = require( '../lib/pushover.js' ); | ||
var p = new push( { | ||
user: '', | ||
token: '', | ||
user: process.env['PUSHOVER_USER'], | ||
token: process.env['PUSHOVER_TOKEN'], | ||
debug: true | ||
@@ -7,0 +7,0 @@ }); |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
2703
85
36
1
3