1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
784 B

15 years ago
XMPP Client for node
====================
Node-xmpp is a cute but low level tool, so, here is xmpp client.
15 years ago
IQ are handled with callback, presence and roster is manageable, every xmpp events become a node event. This client tries to be as polite as Psi.
15 years ago
Install
-------
15 years ago
You need the low level node xmpp tools.
15 years ago
npm install xmpp
15 years ago
Test
----
Async testing is a sport, you need colors for that :
15 years ago
npm install colors
npm install nodeunit
You have to edit a new file in `test/conf.js` :
exports.conf = {
a: {
jid: 'andre@gmail.com',
15 years ago
password: '42',
color: 'red',
host: 'talk.google.com'
15 years ago
},
b: {
jid: 'bob@jabber.org',
password: 'beuha'
}
}
Then, you can launch test :
node test/test.js