node-pushall

1.0.0 • Public • Published

node-pushall

PushAll.ru API for node.js

Install

npm install node-pushall

If you are not familiar with PushAll - visit https://pushall.ru/

Usage example :

var pushall = require('node-pushall');
var channel = pushall.channel(id, key);
 
channel.self({
    'title': '...',
    'text': '...',
    'priority': pushall.priority.HIGH
});
 
channel.broadcast({
    'title': '...',
    'text': '...',
    'priority': pushall.priority.NORMAL
});
 
channel.unicast(uid, {
    'title': '...',
    'text': '...',
    'priority': pushall.priority.LOW
});

/node-pushall/

    Package Sidebar

    Install

    npm i node-pushall

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • rahman