node package manager

node-xmpp-server

XMPP server libraries for Node.js

node-xmpp-server

Idiomatic XMPP server library for Node.js

build status Coverage Status js-standard-style

Manual

Please see http://node-xmpp.org/doc/server.html for instructions on how to use node-xmpp-server.

Install

npm install node-xmpp-server

Test

npm install -g mocha standard
npm test

How to use

Please see the various examples.

Features

  • Client authentication with SASL DIGEST-MD5, PLAIN, ANONYMOUS, X-FACEBOOK-PLATFORM
  • _xmpp-client._tcp SRV record support
  • JID parsing
  • Uses ltx
    • Much easier to handle than a standard DOM
    • xmlns-aware
    • Easy XML builder like Strophe.js (see down)
    • Non-buffering serialization
    • Was split out of node-xmpp for modularization and resuability
  • Component connections
  • Run your own server/talk to other servers with xmpp.Router
  • XMPP over WebSocket
  • XMPP over BOSH

Sponsors

Licence

MIT