An XMPP component library built in nodejs.

var Component = require('node-xmpp-component')
var component = new Component(...parameters...)


  • jid [String]: The jid of the user you wish to log in as. If no host parameter provided an SRV lookup will be performed on the domain (where possible).
  • password [String]: Password to be used for login
  • host [String] optional: The host where the the XMPP server is located
  • port [Int] optional: Port number to connect on