Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (17 sloc) 0.7 kB
6f87666 @mape Added decent readme
authored
1 # node-prowl
2
3 A module for node.js that allows you to send push notifications to your iPhone through the Prowl API (http://prowl.weks.net/api.php).
4
a000e4e @mape Updated readme
authored
5 ## Installation
6
7 Via [npm](http://github.com/isaacs/npm):
8
9 $ npm install prowler
10
11
6f87666 @mape Added decent readme
authored
12 ## Example usage:
13
14 var Prowl = require('prowl');
15 var prowlApiKey = 'yourApiKey';
16
17 // Send uncaught exceptions to your iPhone.
a266d71 @mape Updated readme
authored
18 var notification = new Prowl.connection(prowlApiKey);
19 process.addListener("uncaughtException", function (exception) {
6f87666 @mape Added decent readme
authored
20 notification.send({
21 'application': 'My node.js app',
22 'event': 'uncaughtException - '+exception.message,
23 'description': exception.stack
24 });
a000e4e @mape Updated readme
authored
25 });
Something went wrong with that request. Please try again.