Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (24 sloc) 760 Bytes

node-notifo

Send push notifications to your iPhone for free using node.js and notifo.com;

Installation

Via npm:

$ npm install notifo

Requires

Account on http://notifo.com/ (free).

Usage

var Notifo = require('notifo');

var notification = new Notifo({
    'username': 'yourNotifoUsername'
    , 'secret': 'yourNotifoApiSecret'
});

notification.send({
    'title': 'node-notifo test'
    , 'uri': 'http://github.com/mape/node-notifo'
    , 'msg': 'With URI and title.'
}, function(err, response) {
    if (err) {
        throw err
    } else {
        console.log(response);
    }
});
Something went wrong with that request. Please try again.