Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-xmpp-server-legacy with all npm packages installed. Try it out:

var nodeXmppServerLegacy = require("node-xmpp-server-legacy")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-xmpp-server-legacy v2.3.0

XMPP server libraries for Node.js

node-xmpp-server

Idiomatic XMPP server library for Node.js. This is a forked version of the original, with some changes that I needed. The original isn't under active development anymore.

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free