Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.7 kb

node-prowl

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

Installation

Via npm:

$ npm install prowler

Example usage:

var Prowl = require('prowl');
var prowlApiKey = 'yourApiKey';

// Send uncaught exceptions to your iPhone.
var notification = new Prowl.connection(prowlApiKey);
process.addListener("uncaughtException", function (exception) {
    notification.send({
        'application': 'My node.js app',
        'event': 'uncaughtException - '+exception.message,
        'description': exception.stack
    });
});
Jump to Line
Something went wrong with that request. Please try again.