|
|
@ -3,13 +3,20 @@ XMPP Client for node
|
|
|
|
|
|
|
|
|
|
|
|
Node-xmpp is a cute but low level tool, so, here is xmpp client.
|
|
|
|
Node-xmpp is a cute but low level tool, so, here is xmpp client.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Install
|
|
|
|
Install
|
|
|
|
-------
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You need the low level node xmpp tools.
|
|
|
|
|
|
|
|
|
|
|
|
npm install xmpp
|
|
|
|
npm install xmpp
|
|
|
|
|
|
|
|
|
|
|
|
Tests
|
|
|
|
Test
|
|
|
|
-----
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Async testing is a sport, you need colors for that :
|
|
|
|
|
|
|
|
|
|
|
|
npm install colors
|
|
|
|
npm install colors
|
|
|
|
npm install nodeunit
|
|
|
|
npm install nodeunit
|
|
|
|
|
|
|
|
|
|
|
|