Skip to content

strophe/strophejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fb70dcb · Feb 26, 2025
Jun 14, 2023
Jul 15, 2023
Feb 26, 2025
Dec 16, 2024
Sep 29, 2015
May 15, 2023
Dec 11, 2024
Jun 9, 2023
Jul 22, 2020
Jan 17, 2025
Jan 2, 2010
Feb 26, 2025
Dec 8, 2024
May 7, 2024
Jul 15, 2023
Dec 12, 2024
Jul 3, 2023
Dec 16, 2024
Feb 26, 2025
Feb 26, 2025
Dec 3, 2024
Jul 15, 2023

Repository files navigation

Strophe.js

Build Status

Strophe.js is a JavaScript library for speaking XMPP via BOSH (XEP 124 and XEP 206) and WebSockets (RFC 7395).

It runs in both NodeJS and in web browsers, and its purpose is to enable real-time XMPP applications.

Quick Links

Support in different environments

Browsers

Versions <= 1.2.16 have been tested on Firefox, Firefox for Android, IE, Safari, Mobile Safari, Chrome, Chrome for Android, Opera and the mobile Opera browser.

Since version 1.3.0, support for IE < 11 has been dropped.

React Native

Since version 1.6.0 the WebCrypto API (included by default in Browsers and NodeJS) is used for crypto primitives such as hashing and signatures.

Unfortunately this API is not available in React Native, and integrators will need to look for a 3rd party implementations of this API if they want to use Strophe there.

Running tests

You can run npm run test, or alternatively if you have GNU Make available, you can run make check.

License

Strophe.js is licensed under the MIT license.

Author & History

Strophe.js was created by Jack Moffitt. It was originally developed for Chesspark, an online chess community based on XMPP technology. It has been cared for and improved over the years and is currently maintained by many people in the community.

The book Professional XMPP Programming with JavaScript and jQuery covers Strophe in detail in the context of web applications.