Strophe.js

Strophe.js 是适用于 JavaScript 的 XMPP 库。「Strophe.js is an XMPP library for JavaScript」

Github stars Tracking Chart

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.

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.

Main metrics

Overview
Name With Ownerstrophe/strophejs
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2013-04-29 14:59:16
Pushed At2025-06-06 21:56:44
Last Commit At2025-06-06 23:39:20
Release Count53
Last Release Namev3.1.1 (Posted on 2025-05-20 15:13:14)
First Release Name0.8 (Posted on 2009-03-11 16:44:26)
用户参与
Stargazers Count1.5k
Watchers Count73
Fork Count366
Commits Count1k
Has Issues Enabled
Issues Count297
Issue Open Count21
Pull Requests Count163
Pull Requests Open Count12
Pull Requests Close Count367
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private