pidgin

Pidgin client using pidgin dbus api and dbus-native

npm install pidgin
12 downloads in the last month

node-pidgin

Pidgin node.js client using pidgin dbus api

API

See pidgin DBus howto for a reference

Examples

Create status:

var pidgin = require('pidgin').createClient();
pidgin.PurpleSavedstatusNew('Вася Ложкин', 2, function (err, status) {
  console.log('Status created');
  console.log(status);
});

Handle message:

var pidgin = require('pidgin').createClient();
pidgin.on('ReceivedImMsg', function(account, sender, message, conversation, flags) {
   console.log('Message!', message)
});
npm loves you