# node-xmpp-server

> XMPP server libraries for Node.js

Latest version **2.2.7** (published 2017-03-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install node-xmpp-server
pnpm add node-xmpp-server
yarn add node-xmpp-server
bun add node-xmpp-server
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.2.7 |
| Published | 2017-03-03 |
| First published | 2013-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2279 |
| Maintainers | astro, chris-rock, lloydwatkin, sonny, xmpp |
| Keywords | XMPP, server, C2S, component, S2S, BOSH, WebSocket, TCP |

## Links

- npm: https://www.npmjs.com/package/node-xmpp-server
- Repository: https://github.com/node-xmpp/node-xmpp
- Homepage: http://github.com/node-xmpp/node-xmpp
- Issues: http://github.com/node-xmpp/node-xmpp/issues
- npm.io page: https://npm.io/package/node-xmpp-server

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) ^1.1.1
- [hat](https://npm.io/package/hat.md) ^0.0.3
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [node-xmpp-core](https://npm.io/package/node-xmpp-core.md) ^5.0.9

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.2.7 (latest) — 2017-03-03
- 2.2.6 — 2017-02-14
- 2.2.5 — 2016-12-10
- 2.2.4 — 2016-12-06
- 2.2.3 — 2016-11-20
- 2.2.2 — 2016-10-16
- 2.2.1 — 2016-10-16
- 2.2.0 — 2016-06-13
- 6.1.0 — 2016-06-13
- 2.1.3 — 2016-05-19
- 2.1.2 — 2015-11-17
- 2.1.1 — 2015-11-13
- 2.1.0 — 2015-10-26
- 2.0.0 — 2015-10-06
- 1.0.2 — 2015-09-10
- … 35 more at https://npm.io/package/node-xmpp-server/versions

## README

# node-xmpp-server

Idiomatic XMPP server library for [Node.js](http://nodejs.org/)

[![build status](https://img.shields.io/travis/node-xmpp/server/master.svg?style=flat-square)](https://travis-ci.org/node-xmpp/node-xmpp-server/branches)
[![Coverage Status](https://img.shields.io/coveralls/node-xmpp/server.svg?style=flat-square)](https://coveralls.io/r/node-xmpp/node-xmpp-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)


## Manual

Please see http://node-xmpp.org/doc/server.html for instructions on how to use `node-xmpp-server`.

## Install

```
npm install node-xmpp-server
```

### Test

```
npm install -g mocha standard
npm test
```

## How to use

Please see the various [examples](https://github.com/node-xmpp/node-xmpp-server/tree/master/examples).

## Features

* Client authentication with SASL DIGEST-MD5, PLAIN, ANONYMOUS, X-FACEBOOK-PLATFORM
* `_xmpp-client._tcp` SRV record support
* JID parsing
* Uses [ltx](http://github.com/node-xmpp/ltx)
  * Much easier to handle than a standard DOM
  * xmlns-aware
  * Easy XML builder like Strophe.js (see down)
  * Non-buffering serialization
  * Was split out of node-xmpp for modularization and resuability
* [Component](http://xmpp.org/extensions/xep-0114.html) connections
* Run your own server/talk to other servers with `xmpp.Router`
* [XMPP over WebSocket](http://tools.ietf.org/html/rfc7395)
* [XMPP over BOSH](http://xmpp.org/extensions/xep-0206.html)

## Sponsors

 - [superfeedr](http://superfeedr.com): S2S implementation
 - [Redbooth](https://redbooth.com): BOSH fixes, WebSocket RFC 7395, maintenance

## Licence

MIT

---
_Source: https://npm.io/package/node-xmpp-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
