Skip to content

mape/node-prowl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    });
});

About

A Prowl module for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published