Skip to content

newridetech/xmpp.js

 
 

Repository files navigation

xmpp.js

code style: prettier build status license

XMPP is an open technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data.

xmpp.org/about-xmpp/technology-overview/

xmpp.js is a JavaScript library for XMPP.

Get started

goals

universal

It aims to run everywhere JavaScript runs and make use of the best network transport available.

reliable

By default, it handles errors and will automatically reconnect. With appropriate configuration it will even loop through a list of endpoints. You don't have to write a single line of code to handle network failures.

Releases follow the Semantic Versionning specification

modular

Thanks to lerna, xmpp.js is highly modular, each feature is implemented as a package and can be included or excluded. (even XMPP core features)

This allows to hand-pick what you need and reduce browser bundle. Additionally packages can be dynamically imported on demand.

modern

Written in ES2015, it provides a modern promise based API and will keep up with meaningful additions to the language.

credits

xmpp.js is a rewrite of node-xmpp and learned a lot from it.

Thanks to all xmpp.js and node-xmpp contributors.

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Other 1.3%