voidstarr / signald-node

client library for signald
3 stars 0 forks source link

signald-node - client library for signald

This project is still a WIP; however, it is still usable.

Install:

npm i signald-node

Usage:

const Signal = require("signald-node");
var client = new Signal("+1234567890");
client.link().then(r => {
    console.log(r);
}).catch(err => {
    console.log(err);
});

All of the message types laid out by signald's socket protocol are exposed via functions on the Signal object. Those functions return Promises.

Feedback

Please let me know of any bugs, crashes, unstableness or wonkiness in the issues or reach out to me on #signald on freenode.