Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (22 sloc) 0.623 kb

node-xmpp-joap

Jabber Object Access Protocol XEP-0075 library for node-xmpp.

Installation

With package manager npm:

npm install node-xmpp-joap

Usage

xmpp = require "node-xmpp"
joap = require "node-xmpp-joap"

comp = new xmpp.Component
  jid       : "mycomponent"
  password  : "secret"
  host      : "127.0.0.1"
  port      : "8888"

router = new joap.Router comp

router.on "read", (iq)->
  console.log "read iq received"

router.on "edit", (iq)->
  console.log "edit iq received"
Jump to Line
Something went wrong with that request. Please try again.